Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 4.0
-
Fix Version/s: 4.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any, testing with trunk ACE Auction sample (toggle org.icefaces.demo.auction.test.TestFlags.TEST_GROWL_MESSAGES to "true")
-
Assignee Priority:P2
-
Support Case References:Support Case 13922:- https://icesoft.my.salesforce.com/5007000001eu4W0
Description
When ace:growlMessages is used to display FacesMessages it doesn't clear/hide properly if a new response is pushed from the server before the "displayDuration" is done.
Using:
<ace:growlMessages closeAll="false" displayDuration="2000" position="bottom-right" globalOnly="true" maxVisibleMessages="5"/>
On a page with an interval Ajax Push of 1 second the growlMessages just display/half-fade infinitely.
If the "redisplay" attribute is set to "true" on ace:growlMessages in this case they sometimes don't appear (likely if the message happens to be the same time as a push) or close prematurely.
Using:
<ace:growlMessages closeAll="false" displayDuration="2000" position="bottom-right" globalOnly="true" maxVisibleMessages="5"/>
On a page with an interval Ajax Push of 1 second the growlMessages just display/half-fade infinitely.
If the "redisplay" attribute is set to "true" on ace:growlMessages in this case they sometimes don't appear (likely if the message happens to be the same time as a push) or close prematurely.
Activity
Carlo Guglielmin
created issue -
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | easyAjaxPush.war [ 22354 ] |
Judy Guglielmin
made changes -
Support Case References | Support Case 13922:- https://icesoft.my.salesforce.com/5007000001eu4W0 |
Judy Guglielmin
made changes -
Attachment | SC13922.zip [ 22367 ] |
Judy Guglielmin
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
Fix Version/s | 4.2 [ 12870 ] | |
Assignee Priority | P2 [ 10011 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The repeated rendering of the messages is caused by the message persistence feature introduced in
ICE-5750. ICEfaces will keep a message that was added until a full page load or a postack with execute=@all is issued. This in effect forces ace:growlMessages to re-render the message for each post-back including the ones triggered by a push notification.When displayDuration attrbiute is defined the clearing of the messages occur only on the client side. Maybe we should modify the component to stop render the messages after the defined delay has elapsed?!