Wicket uses a 2 step render : http://wicket.apache.org/apidocs/1.4/org/apache/wicket/settings/IRequestCycleSettings.html
Have you tried using setRenderStrategy(ONE_PASS_RENDER ONE_PASS_RENDER) in your application? -Clint On Mon, Mar 28, 2011 at 7:37 PM, lovewicket <[email protected]> wrote: > Yes. I have the following in my application class: > > mount(new QueryStringUrlCodingStrategy("/searchresults", > SearchResultsPage.class)); > > It didn't work. I am not sure why wicket doesn't directly go to the > specified page instead of loading the current page again and then going to > the specified page. I would assume, in a stateless environment, this would > fail everytime. By the way, if I change StatelessForm to Form, it all > works, > but it creates a session which is not desired (since we were having memory > issues with sessions). > > As a workaround, I stored the parameters as a hidden field on the page (can > verify this via Page Source), but when I tried to retrieve them via > getMarkupAttributes() it came out blank so I have to assume that the > attributes are added at the last rendering stage and are not read back in > on > form submit. > > I would really appreciate any ideas. Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/StatelessForm-redirect-tp3406282p3413429.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
