cancel
Showing results for 
Search instead for 
Did you mean: 

addStatusMessage does not work

igor_shaldev
Champ in-the-making
Champ in-the-making
Hello,
I'm trying to display a info message after a dialog finishes. I'm using: Utils.addStatusMessage(FacesMessage.SEVERITY_INFO, "Message");
but this only displays current time, and no message. On the other hand Utils.addErrorMessage("message") works perfectly. Can someone tell me how to display a message after dialog execution, it doesn't matter how it is done or shown, I just need a way to show a message with some info from the Dialog Bean.

Thanks
4 REPLIES 4

igor_shaldev
Champ in-the-making
Champ in-the-making
no ideas at all??
does someone has the same problem or not?

wesse
Champ in-the-making
Champ in-the-making
Yes same thing here only the info icon and the time

wesse
Champ in-the-making
Champ in-the-making
Hi !

Found that the class: org.alfresco.web.ui.common.Utils in method: addStatusMessage
constructs the FacesMessage fm = new FacesMessage(severity, time, msg);
but the time and msg arguments are in the wrong order…

kirit
Champ on-the-rise
Champ on-the-rise
Yes I am also facing the same issue. means when i use Utils.addStatusMessage(FacesMessage.SEVERITY_INFO, "My Message") it is displaying only current time but not the message.

so far any solution on how to display the message?