CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Dynamically add parameters in an Include Page

Print topic Send  topic

Author Message
rmbrowngr

Posts: 12
Posted: 03/21/2005, 3:08 AM

How anyone know how I can dynamically add parameters in an Include Page?
View profile  Send private message
mrachow


Posts: 509
Posted: 03/21/2005, 8:04 AM

I'm not quite sure but I think that cannot work.

Pragmatically spoken an include page will lose it's identity just at the moment it is included by another page. So even if there is a CCgetParamter for example this would work on the parameters of the inclucing page.

I think the server first builds up a page consisting of the including page and all included pages. Only just after that any processing of the complete script file will start.
_________________
Best regards,
Michael
View profile  Send private message
rmbrowngr

Posts: 12
Posted: 03/21/2005, 8:14 AM

What I realy won't to do is pass a parameter to the included page from the parent page.

At the moment I set a session variable to do this, which isn't a safe method.

Richard
View profile  Send private message
sbwtxj


Posts: 27
Posted: 03/21/2005, 6:23 PM

Of course,
I always use included page before show/after initation event e.getPage().getHttpGetParams().getParameter("variable name") to retrieve the URL variable value.

I don't know if it can help you.
Regards,
shanbw 8-)
_________________
----------------
Regards,
shanbw
View profile  Send private message
David A. Lee
Posted: 03/30/2005, 4:57 AM

Try setting a Request attribute instead of a session attribute
Request attributes only live for the duration of the single HTTP request.


"rmbrowngr" <rmbrowngr@forum.codecharge> wrote in message
news:9423ef2fab0565@news.codecharge.com...
> What I realy won't to do is pass a parameter to the included page from the
> parent page.
>
> At the moment I set a session variable to do this, which isn't a safe
method.
>
> Richard
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.