Hi,

I usesd this is in the other page where i use the property model  new

PropertyModel(this.getSession(), "foo")

but using this how can we print this value in the html page.or console.


On Wed, Apr 29, 2009 at 11:36 AM, Jeremy Thomerson <
[email protected]> wrote:

> Typically with Wicket you don't store these kind of values in the
> session - most of the time when people ask how to do that on this
> list, it is because that's how they were forced to do it before.
> Store your data in your component and pass it to the next page
> (regular OO programming).
>
> That being said, you do it just like you store data anywhere else in
> Wicket...
>
> class MySession {
> private boolean foo;
> // setFoo and isFoo
> }
>
> // use this model for your drop down choice, etc...
> new PropertyModel(this.getSession(), "foo")
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Wed, Apr 29, 2009 at 12:53 AM, Geeta Madhavi <[email protected]>
> wrote:
> > Hi..
> >
> > Can any one tell me how to maintain the session in wicket while using the
> > springwebapplication. my requirement is i select values in drop down
> those
> > values should be in session. and those values i should be able to print
> in
> > the next page. So,Kindly some one help me in this i am newbie to this
> > Wicket.
> >
> > --
> > Regards.
> > Geeta Madhavi. K
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Regards.
Geeta Madhavi. K

Reply via email to