Em Thu, 13 Aug 2009 04:19:31 -0300, <dirk.latterm...@bgs-ag.de> escreveu:
Hi list,
Hi!
Normally, after a submit, the same page should be re-displayed with updated data. I'm not sure how to incorporate the messages there.
I created a simple Message component. It has a message parameter (String). If the message is not null, it renders a <p class="message"> tag with the message inside it. I use this component inside Form.
Another way would be to use an "exception page". Can I use a special exception page that gets called automatically for some special type of exceptions?
You can use the tapestry.exception-report-page configuration symbol to tell Tapestry which error page it must use. Don't forget to make your error page implement the ExceptionReporter interface.
-- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org