On Thu, 29 Sep 2011 05:02:26 -0300, Pups <vasy...@devcom.com> wrote:
Hello, Thiago!
Hi!
I need exactly *Field* type object to use in the recordError method.
You do this by @Component or @InjectComponent.
@Component(id = "applyCouponCode")
private TextField applyCouponCode;
has applyCouponCode.getControlName() return NULL.
I'd guess it's because of the ordering of actions added to FormSupport for
Form to process. As you have a TextField inside your component, maybe the
TextField's commands are being executed after your component's
processSubmission() method. And one of this commands sets the control name.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org