on 02-28-2008 4:01 PM
Hi All!
How can I prevent that error messages are displayed twice.
The FuBa is called at the backend more than one time (at least twice)
therefore I get every message twice.
Regards
sas
Sas-
I'm not sure if I understood your problem. Are you saying that you have a service which you call in a loop, and display the error message in the loop as well? If so an option would be to have a [HashMap|http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html] where the key is the error message id, and the value is the error message. In the loop check if the error message id returned by your service already exists in the map and add it only if absent. Then after your loop is complete use the MessageManager to display your consolidated error messages.
Cheers-
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi erdem,
Can you put a more detailed message so that it is helpful to answer.
Ashok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.