Your class can implement IExternalPage. You would then publicise a link
like:
http://localhost/myapp?service=external&context=ViewCustomer&sp=5056&sp=
302
Where ViewCustomer is you page. Loading that Url will call you
page-classes' activateExternal method passing in an array of Objects (
{5056,302} in this case )

See also:
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IExte
rnalPage.html


> -----Original Message-----
> From: Josh Joy [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 10, 2007 5:22 AM
> To: [email protected]
> Subject: Tapestry read query parameters before page rendering [T4.0]
> 
> Hi,
> 
> If I have a page like
> http://www.website.com/report?id=12345 and I send someone 
> this link....
> 
> How can I use the information for the parameter id with arg 
> 12345 to generate the report using the custom information I 
> pull for this particular id? I know when dealing with forms, 
> I can implement a listener and pull the "id" info from the 
> IRequestCycle using the method getParameter(), though what 
> about getting the parameter information if someone access a 
> page directly and I need to generate this before the page renders?
> Thanks in advance...
> 
> Thanks,
> Josh
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to