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

Reply via email to