igor.vaynberg wrote:
> 
> On 4/24/07, mraible <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > You typically don't need to call setRedirect yourself though. Was
>> > there any reason for doing that? Also, flash message works good here,
>> > but if you already know the page you are going to display it on, you
>> > might as well set it on there.
>> >
>> >
>>
>> I'm using setRedirect(true) in order to do redirect-after-post so
>> clicking
>> refresh on the browser doesn't prompt the user.
> 
> what eelco meant to say is that wicket does redirect-after-post for you by
> default, thus no need for you to bother with it.
> 

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.

Matt
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10175013
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