On Fri, 15 Oct 2010 13:31:07 -0300, Blower, Andy <[email protected]> wrote:

From one of my developers:

When using the VALIDATE event to validate form details, the validation method is called several times.
        @OnEvent(EventConstants.VALIDATE)
        void validateChooseFolderForm() {

                ...
        }

You need to specify which component you want to listen the validate event, as most form field components also trigger them. Try @OnEvent(component = "yourFormTId", value = EventConstants.VALIDATE).

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to