Re: User/error message that are not validation errors

2009-08-13 Thread Thiago H. de Paula Figueiredo
Em Thu, 13 Aug 2009 04:19:31 -0300, 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 n

Re: User/error message that are not validation errors

2009-08-13 Thread Ulrich Stärk
My Layout component has a message parameter of type Block that gets displayed if set. Pages that should display messages derive from a base class with a message page property of type string. In the page's template I then bind Layout's message parameter to the page's message property (coercion fro

User/error message that are not validation errors

2009-08-13 Thread dirk . lattermann
Hi list, while trying to grasp the "tapestry way of doing things", I stumbled on this question: I want to show a message in response to a submit. It is not a result of validation, but rather of the database state which is detected during data manipulation in the onSuccess event. For example,