Have you seen this example and the ones around it? http://jumpstart.doublenegative.com.au/jumpstart7/examples/select/easyobject
HTH, Geoff On 16 Jul 2014, at 1:56 am, squallmat . <squall...@gmail.com> wrote: > But I was getting the problem at page loading. I haven't been able yet to > do a form submission, so setupRender should have been enough for that, > right ? > I probably miss something on this. But it's now working :) > And thanks for your time for helping me (I'm discovering this framework). > > > 2014-07-15 17:32 GMT+02:00 Thiago H de Paula Figueiredo <thiag...@gmail.com> > : > >> On Tue, 15 Jul 2014 10:48:02 -0300, squallmat . <squall...@gmail.com> >> wrote: >> >> Ok I resolved the problem, >>> >>> I went from declaring the encoder with : >>> @Property >>> private TypeClientDtoEncoder typeClientDtoEncoder; >>> >>> to : >>> public TypeClientDtoEncoder getTypeClientDtoEncoder() { >>> return new TypeClientDtoEncoder(); >>> } >>> >>> and now it works :p strange >>> >> >> Why is it strange? @Property just creates getter and setter. It doesn't >> set field values. You were probably only setting the field in >> setupRender(), which isn't called when a form submission is done. For that, >> you could have used onPrepare() (triggered by Form) instead, as it's called >> before the form is rendered and before the form submission is processed. >> >> >> -- >> Thiago H. de Paula Figueiredo >> Tapestry, Java and Hibernate consultant and developer >> http://machina.com.br >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org