Can I use outputProgress to display the progress of a long running business process?
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Can I use outputProgress to display the progress of a long running business process?  XML
Forum Index -> JBoss Seam Integration Go to Page: Previous  1, 2
Author Message
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.
 
Forum Index -> JBoss Seam Integration Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7ice © JForum Team