that dot notation is only usable when a CompoundPropertyModel is present. see this for more info and examples:http://www.wicket-wiki.org.uk/wiki/index.php/Models
-IgorOn 11/21/05, Manuel Corrales <[EMAIL PROTECTED]> wrote:
Great!!! I remember now readingĀ that can use that pacient.name
notation. Th
Great!!! I remember now readingĀ that can use that pacient.name
notation. That solves mi issue. Thanks very very much. This list is
excelent!!.
Thanks againOn 11/21/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
why not use the object as the model itself, this is easy with property models.Form form=
why not use the object as the model itself, this is easy with property models.Form form=new Form("form", new CompoundPropertyModel(new User());form.add(new TextField("name")); <=== maps to
user.nameform.add(new TextField("pacient.name")); <=== maps to pacient.name-Igor
On 11/21/05, Manuel Corrales
Hi, i have this issue:
have a form with several inputs, that form should be mapped to a class
user i have. The thing is that the class user have an instance of a
class Pacient inside and the data of the form must goe half to the User
class and half to de Pacient.
Can i achieve this without creati