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 <ch...@gmx.at> on 2015/04/05 01:14:26 UTC
Javascript link to Wicket Page
Hi all,
I have a Javascript, that shows a footer with text & link on the bottom of a Web page for some seconds.
Currently, it is loaded via response.render(OnDomReadyHeaderItem.forScript(...));
How can I call a Wicket Webpage from the link of the footer?
Thanks, Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Javascript link to Wicket Page
Posted by Chris <ch...@gmx.at>.
Thank you, Sebastian!
> Am 05.04.2015 um 13:23 schrieb Sebastien <se...@gmail.com>:
>
> Hi Chris,
>
> You can get the url of the page you want to point to using
> RequestCycle.get().urlFor(pageClass, pageParameterOrNullIfNone)
>
> Best regards,
> Sebastien.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Javascript link to Wicket Page
Posted by Sebastien <se...@gmail.com>.
Hi Chris,
You can get the url of the page you want to point to using
RequestCycle.get().urlFor(pageClass, pageParameterOrNullIfNone)
Best regards,
Sebastien.