You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by gvp <bl...@gmail.com> on 2005/06/02 12:06:33 UTC
How to make forward to Page
Hi all,
I have two pages A and B(implements IExternalPage interface).
I'd like to make forward (not redirect) from A.someListener to B page
but don't know how. Do you know any way of doing this?
--
Best regards,
gvp
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Re[2]: How to make forward to Page
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jun 2, 2005, at 6:48 AM, gvp wrote:
> Hello Erik,
>
> I do forward because I want to have A's page url in browser
> address text box. So if user decides to bookmark page B (results)
> he'll get actually page A(search criteria).
Then simply activating a page from a listener will do the trick. The
only time you'd get a different URL would be by forcing a client-side
redirect and would require this to be explicit in the default
configuration of Tapestry.
Erik
>
>
>> You could simply activate the next page, though that's not
>> technically a "forward". Or you could throw PageRedirectException -
>> which I don't think is technically a forward either.
>>
>
>
>> Why don't the above techniques work for you? Why do you need a
>> "forward" rather than an activate?
>>
>
>
>> Erik
>>
>
>
>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail:
>> tapestry-user-help@jakarta.apache.org
>>
>
>
> --
> Best regards,
> gvp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re[2]: How to make forward to Page
Posted by gvp <bl...@gmail.com>.
Hello Erik,
I do forward because I want to have A's page url in browser
address text box. So if user decides to bookmark page B (results)
he'll get actually page A(search criteria).
> You could simply activate the next page, though that's not
> technically a "forward". Or you could throw PageRedirectException -
> which I don't think is technically a forward either.
> Why don't the above techniques work for you? Why do you need a
> "forward" rather than an activate?
> Erik
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
--
Best regards,
gvp
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: How to make forward to Page
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jun 2, 2005, at 6:06 AM, gvp wrote:
> Hi all,
>
> I have two pages A and B(implements IExternalPage interface).
> I'd like to make forward (not redirect) from A.someListener to B page
> but don't know how. Do you know any way of doing this?
You could simply activate the next page, though that's not
technically a "forward". Or you could throw PageRedirectException -
which I don't think is technically a forward either.
Why don't the above techniques work for you? Why do you need a
"forward" rather than an activate?
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org