You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Richard Gal <rg...@gmail.com> on 2009/08/23 10:14:47 UTC
Form re-posting in portlets
Hello
Are render strategies supported in Wicket portlets?
I have a form and refreshing the page after a submit results in the
browser showing "Are your sure you want to send the form again"
repost popup.
I checked that the Application reports to have the REDIRECT_TO_BUFFER
render strategy by default (as expected) but still no redirect happens
and the repost popup is there.
I changed the render strategy to REDIRECT_TO_RENDER but the result is the same.
I tried it in the following environment:
* Liferay 5.2.3 (with its internal portlet container)
* Wicket 1.4.SNAPSHOT (revision: 806204)
Thanks for any answers in advance,
Richie.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Form re-posting in portlets
Posted by glr <rg...@gmail.com>.
I figured it out that WicketFilterPortletContext overrides the render
strategy to REDIRECT_TO_RENDER so I should not expect the REDIRECT_TO_BUFFER
behavior.
Still, I do not seem to get the redirect to solve the "repost popup"
problem.
--
View this message in context: http://www.nabble.com/Form-re-posting-in-portlets-tp25101227p25105527.html
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