On Fri, 26 Feb 2010 11:20:34 -0300, martijn.list <martijn.l...@gmail.com>
wrote:
I can defer a Runnable but I cannot see how I can validate the component
values. Runnable#run doesn't allow an exception to be thrown.
Instead of throwing an exception, something that can only be done when
handling the validation evento, get the ValidationTracker from the
environment and use recordError() to record an error.
I also looked at the Tapestry code but couldn't find a sample.
I just searched FormSupport.defer() with Eclipse (Control-shift-G) and it
found them in LinkSubmit and Submit.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, 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