Re: Retrieve a value of textField and set the property of the Model

2013-05-17 Thread Bruno Moura
Hi Martin I have used this pastie http://pastie.org/7922079 as you requested. The problem that I really stuck in retrieve the value of the textField description, inside a listView and the selected value of DDC neither. And without these values I can't set the properties name and description for t

Re: Retrieve a value of textField and set the property of the Model

2013-05-16 Thread Martin Grigorov
Hi Bruno, Use any pastebin service to paste your code with Scala/Java highlighting so we can see what is wrong. On Fri, May 17, 2013 at 6:04 AM, Bruno Moura wrote: > Thanks Martin again > > I coded as you told me but unfortunately the code doesn't work > because the description property of the

Re: Retrieve a value of textField and set the property of the Model

2013-05-16 Thread Bruno Moura
Thanks Martin again I coded as you told me but unfortunately the code doesn't work because the description property of the model/object descriptionModel didn't receive the value inserted in the text field. after inspected the descriptionModel in debug time I saw that description hasn't any value

Re: Retrieve a value of textField and set the property of the Model

2013-05-15 Thread Martin Grigorov
Hi, On Wed, May 15, 2013 at 6:18 AM, Bruno Moura wrote: > Hi Paul, thanks very much for your help! > > I followed your suggestion but this peace of code doesn't compile > unfortunately: > > IModel descriptionModel = new PropertyModel[Meeting](meeting, > "description")); > > I have tried > > val

Re: Retrieve a value of textField and set the property of the Model

2013-05-14 Thread Bruno Moura
Hi Paul, thanks very much for your help! I followed your suggestion but this peace of code doesn't compile unfortunately: IModel descriptionModel = new PropertyModel[Meeting](meeting, "description")); I have tried val descriptionModel[IModel] = new PropertyModel[Meeting](meeting, "description")

Re: Retrieve a value of textField and set the property of the Model

2013-05-10 Thread Paul Bors
Why the Ajax round-trips for each "keyup" to extract the model's object? Have you tried to implement just the Save link/button and then look-up the model object from inside the onClick() method? In your case it would come from the PropertyModel you use already: TextField description = new TextFie