Eelco Hillenius wrote:
> 
>> Does it do this with 1.2.6?
>>
>> When I don't have it, and I hit refresh after submitting a form, I get
>> the
>> good ol' "postdata" message from Firefox. If I add setRedirect(true),
>> there
>> is no message.
> 
> That's surprising. What does your application object look like?
> 
> The default IRequestCycleSettings.RenderStrategy setting for Wicket
> (since quite a long time) is to use
> IRequestCycleSettings#REDIRECT_TO_BUFFER. Did you change that to
> ONE_PASS_RENDER by any chance?
> 

Yes, I did. 

        // Fixed SiteMesh:
http://spatula.net/blog/2006/10/wicket-sitemesh-feces-nocturnus.html
       
getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER);

It's likely be pretty easy to port when I have with SiteMesh to use the page
extension stuff that Wicket has, but I'm lazy. ;-)

Matt
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10175198
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to