operty' that the message is for.
Example:
If the *username* field has a validation error, validator would put a
msgs.add("username", new ActionMessage("Validation failure message"));
like so, and then put the msgs object under the Globals.ERRORS key.
To store your own messa
Antonio Petrelli wrote:
2008/6/16 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of messages to
show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a bubble
3) Error messages, with
2008/6/16 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
> Hi all,
> we're using struts 1.2.4 in our project and we have 3 types of messages to
> show the user:
>
> 1) Confirmational, with say a green tick mark,
> 2) Informational, with a classic i in a bubble
> 3) Error messages, with the classes red r
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of messages
to show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a bubble
3) Error messages, with the classes red rectangle.
Currently I use saveErrors and saveMessages in my a
4 matches
Mail list logo