I added @Persist on both source and value, now fields persist between languages. But localization switching reload the page, so I assume if I want the field that were filled to stay filled at language switching I need to put on all my Property with @Persist and refill each field in SetupRender, right ?
Is this possible to have localization switchin without page reloading, and only the labels "ajaxly" updated ? 2014-07-16 21:02 GMT+02:00 Thiago H de Paula Figueiredo <thiag...@gmail.com> : > On Wed, 16 Jul 2014 12:55:24 -0300, squallmat . <squall...@gmail.com> > wrote: > > Still, in the Client entity that i will persist at the submit, I store my >> contacts in it : >> // when adding a contact row >> Object onAddRowFromContacts() { >> ContactDto contactDto = new ContactDto(); >> >> clientDto.getContactList().add(contactDto); >> >> return contactDto; >> } >> >> Is there a way to achieve what I want, keep my rows at language switching >> without persisting in db ? >> > > Look at the @Persist annotation. Session persistence. Again, it's > completely unrelated to language switching. > > @Persist > private ContactDto contactDto; > > > -- > 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 > >