leonbnu
Joined: 19/05/2009 00:00:00
Messages: 16
Offline
|
judy.guglielmin wrote:
I'm not sure that faces messages would be the correct way to do this as they are only event-scoped. (each push to the progress monitor is an event). Are you using the properties on the progress monitor for this (label and labelComplete)?
Once it is finished (or there is an exception or error), you could then queue the faces messages (is this what you are referring to having problems with?)
Say I have a long running process processing a 50-page doc, I used the label property to display which page it's currently at like currentpage/totalpages. and I also have a <ice:message> beside the progressbar to show a summary(or error) information after done with each page. I've got this close to working now.
Yeah, I realized that seam's facesMessages component is only event scoped. I'm using with the JSF API to queue the message.
|