Thanks very much Martin again for your help

Bruno Moura


2013/5/6 Martin Grigorov <mgrigo...@apache.org>

> Hi,
>
>
> On Mon, May 6, 2013 at 2:48 AM, Bruno Moura <brunormo...@gmail.com> wrote:
>
> > I'm trying to retrieve a value of a TextField as is showed bellow:
> >
> >     item.add(new TextField("description", new Model[String]() {
> >         override def getObject(): String = {
> >             customer.description = ??? // I don't know how I can get the
> > value here
> >             return ...
> >         }
> >     }))
> >
> > I have this TextField inserted in a ListView and I need to use the
> > TextField value to set it in a property model.
> >
>
>
> item.add(new TextFeild[String]("description", new
> PropertyModel(objectWithDescription, "description"))
>
> This way you can read the description with:
> objectWithDescription.getDescription()
>
>
> >
> > Thanks
> >
> > Bera
> >
>
>
>
> --
> Martin Grigorov
> Wicket Training & Consulting
> http://jWeekend.com <http://jweekend.com/>
>

Reply via email to