On Thu, 11 Feb 2010 19:13:15 -0200, xfile80303 <l...@grokers.net> wrote:
2) Sending an error from a dispatcher is even simpler, but you can't
simply return the object since it's not a renderer... instead, you
simply call
HttpServletResponse.sendError(int, String) and be sure to return 'true'
out of the dispatcher before allowing it to proceed with the
componentRequestHandler flow.
That's absolutely correct. Inside Tapestry's architecture, Dispatcher is
the concept most similar to a servlet.
--
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