You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris Lintz <ch...@gmail.com> on 2007/10/11 07:01:06 UTC

How to setResponsePage to a mountBookmarkablePage URL ("/promote", PromotePage.class);

Hi,
Does any one know if its possible to set the response page (i.e.
setResponsePage(...) ) to a bookmarkable page that actually sends the
request to the mounted URL?  For example if I have:

	mountBookmarkablePage("/promote", PromotePage.class);

I want to do something like setResponsePage( PromotePage.class ) but have
the request go to the nice URL /promote not Wickets URL formatted url.


thanks


chris
-- 
View this message in context: http://www.nabble.com/How-to-setResponsePage-to-a-mountBookmarkablePage-URL-%28%22-promote%22%2C-PromotePage.class%29--tf4605088.html#a13149412
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to setResponsePage to a mountBookmarkablePage URL ("/promote", PromotePage.class);

Posted by Igor Vaynberg <ig...@gmail.com>.
if you mount your page and use setresponsepage(Class) it will always
go to the mounted url

-igor


On 10/10/07, Chris Lintz <ch...@gmail.com> wrote:
>
> Hi,
> Does any one know if its possible to set the response page (i.e.
> setResponsePage(...) ) to a bookmarkable page that actually sends the
> request to the mounted URL?  For example if I have:
>
>         mountBookmarkablePage("/promote", PromotePage.class);
>
> I want to do something like setResponsePage( PromotePage.class ) but have
> the request go to the nice URL /promote not Wickets URL formatted url.
>
>
> thanks
>
>
> chris
> --
> View this message in context: http://www.nabble.com/How-to-setResponsePage-to-a-mountBookmarkablePage-URL-%28%22-promote%22%2C-PromotePage.class%29--tf4605088.html#a13149412
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org