| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/07/2008 05:13:06
|
dzik
Joined: 13/03/2008 00:00:00
Messages: 10
Offline
|
Hi,
I use ice:outputProgress label to display progress and successive operation names.
In 1.7.0 it looks ok, progress and label are changing properly.
In 1.7.1 progress goes at once to eg. 83% and display '83%' not label what I have set in the bean. After page refresh I see 100%.
Now, what it looks from a code perspective:
After click button I call method which runs Thread and ends.
In Thread I am changing label and increase progress. After each change I run state.render(); (state is object of PersistentFacesState). All operations are very quick if I remove state.render() thread should reach 100% in circa one second (there are 8 steps).
I am using asynchronous mode.
It looks like ICEfaces 1.7.0 send all updates (wait after each state.render() or queue it) and 1.7.1 send only one per eg. 1s. and rest of them are discarded.
Am I right, or there is other explanation?
Regards,
Krzysiek
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 08/07/2008 13:15:48
|
mark.collette

Joined: 07/02/2005 00:00:00
Messages: 1223
Offline
|
Yes, there's a bug with the final rendering of an upload:
http://jira.icefaces.org/browse/ICE-3235
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 08/07/2008 13:23:06
|
dzik
Joined: 13/03/2008 00:00:00
Messages: 10
Offline
|
Thanks for reply Mark,
Might I was not clear. On page I do not use ice:inputFile, I use only ice:progressBar. Are those both cases related?
Regards,
Krzysiek
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/07/2008 13:29:10
|
mark.collette

Joined: 07/02/2005 00:00:00
Messages: 1223
Offline
|
No, I don't think those two issues are related, now that I've re-read your description. Does the same thing happen if you call state.executeAndRender() instead of render()?
And sorry, but why are you trying to show progress for something that happens in less than a second anyway?
|
|
|
 |
|
|