On Tue, 20 Jul 2010 10:02:41 -0300, Michal Gruca <michalgr...@gmail.com> wrote:

I'm just blind or dumb. My code was almost same as example I provided, with onValidate metod without any value. That's why I didn't saw any value. That solves the problem, thanks.

This happens. :)

But one suggestion. Maybe tapestry should log on warn level if someone
creates onValidate method with no parameters, else someone may be as
confused as I was. I don't see any purpose of onValidate without parameters.

That's a very good idea. Maybe Tapestry should go further and throw an exception, as a no-arg onValidate method is useless. Please file a JIRA in the Tapestry bug tracker for that.

Thanks again, that helped a lot :)

You're welcome!

--
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

Reply via email to