Shure!
After having injected into .page file the "request" property,
add to the relative java abstract component/page file the following line:
public abstract HttpServletRequest getRequest();

But remember, as Andreas already stated if you navigat from Tapestry to 
tapestry you CAN always code in tapestry way.

For example if you need to pass parameters to another page,
consider using @DirectLink component setting the needed params and managing 
them in the Page listener interested.

Ciao,
kiuma

>----- ------- Original Message ------- -----
>From: Ryan Pan <[EMAIL PROTECTED]>
>To: Tapestry users
><[email protected]>,
>[EMAIL PROTECTED]
>Sent: Thu, 29 Dec 2005 19:19:30
>
>Thank you for your reply.
>But I may not pass parameters through
>setters,because what I need is that
>different parameters with different type and page
>navigation was just
>through page link.
>So is there any other suggestion?
>
>Hi kiuma,
>    would you please provide me your solution more
>detail?
>
>thanks.
>
>
>2005/12/29, Andreas Idl <[EMAIL PROTECTED]>:
>>
>> Hi
>>
>> 1. session = use visit objects for session
>values.
>> 2. parameters between to pages = you may call a
>setter of the destination
>> page
>>
>> here an example of a directlink listener:
>>
>> Integer value=
>(Integer)cycle.getServiceParameters()[0];
>> DestinationPage page = (DestinationPage)
>>         cycle.getPage("DestinationPage");
>> page.setValue(value);
>> cycle.activate(page);
>>
>> Andreas
>>
>>
>>
>---------------------------------------------------
>------------------
>> 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