You can call setRedirect(false) during the request in the onSubmit handler, that should prevent wicket from redirecting in that particular case.
-Matej On 10/24/07, Chris Lintz <[EMAIL PROTECTED]> wrote: > > Ok. Its a good thing.. I didnt know it was the default setting. I guess i > should thank you because it exposed a classic issue seen when having SSL > accelerators proxying requests to port 80 . The redirect was redirecting > off https. I have fixed this by setting correct headers at the accelerator > box. > > Anyways, I don't need to change to ONE_PASS_RENDERER but for my knowledge > going forward, it appears this cannot be set per request? > > > > Eelco Hillenius wrote: > > > > On 10/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > >> yep, this is called a redirect-after-post pattern - i suggest you look > >> it up. it is the preferred way of building webapps and wicket gives > >> you it for free. so actually this is a Good Thing (tm). > > > > Yup. Read the docs on IRequestCycleSettings#RenderStrategy. The > > default is REDIRECT_TO_BUFFER. If you don't like this behavior, you > > can set it to ONE_PASS_RENDER. > > > > Eelco > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Button-component-bug---all-uses-of-a-Button-cause-a-302-redirect-tf4681842.html#a13379870 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
