Why put the variable in the session at all? Do this in your onSubmit: onSubmit() { setResponsePage(new SomePage(this.someVariable)); }
-- Jeremy Thomerson http://www.wickettraining.com On Fri, Aug 28, 2009 at 12:17 AM, Gerald Fernando<gerald.anto.ferna...@gmail.com> wrote: > Hello Friends, > I have page in which textField and button . > when submit a form (onClick ) i need to call same page and pass argument to > that page. > so that page will take argument from session variable.How to store and how > to get that value > *for loading same page*,Shall i call the page using *setResponsePage* > and *shall > i get the argument* for that page from session variable? > how can i achieve this. > > -- > Thanks®ards, > Gerald A > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org