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/21 22:28:09 UTC

Submitlink + PageParameters

Hi all,

would it be possible when having a submit link and a form+post, to nevertheless transfer the page parameters in the url? Something like action=„…?parameter=value"

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


Re: Submitlink + PageParameters

Posted by Chris <ch...@gmx.at>.
Hi, thanks a lot, I will try it out.

br, Chris



> Am 22.04.2015 um 10:58 schrieb lucast <lu...@hotmail.com>:
> 
> Hi Chris,
> Have you tried the following?:
> 
> 
> 
> In my case, the above solution was not properly redirecting to external url
> in production mode, so I resorted to using RedirectToUrlException:
> 
> 
> 
> On the onSubmit(), I then called 	setResponsePage(new RedirectPage(
> "external url" ) );
> 
> I hope this helps.
> Regards,
> Lucas
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitlink-PageParameters-tp4670454p4670464.html
> Sent from the Users forum 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


Re: Submitlink + PageParameters

Posted by lucast <lu...@hotmail.com>.
Hi Chris,
Have you tried the following?:



In my case, the above solution was not properly redirecting to external url
in production mode, so I resorted to using RedirectToUrlException:



On the onSubmit(), I then called 	setResponsePage(new RedirectPage(
"external url" ) );

I hope this helps.
Regards,
Lucas



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitlink-PageParameters-tp4670454p4670464.html
Sent from the Users forum 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