Re: Custom messages

2008-06-16 Thread Louis
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

Re: Custom messages

2008-06-16 Thread Dimitris Mouchritsas
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

Re: Custom messages

2008-06-16 Thread Antonio Petrelli
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

Custom messages

2008-06-16 Thread Dimitris Mouchritsas
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