Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces4 trunk revision# 45077
Server: tomcat7
Browser: IE7, FF3.6/34 & Chrome43
JSF: Mojarra 2.2.10
-
Assignee Priority:P2
-
Affects:Sample App./Tutorial
Description
The showcase demos that use a messages component to show errors (ace:messages) are not clearing these errors from the messages when the user navigates to another demo in the showcase. This is confusing for the user as the new demo renders with the old error messages from the previous demo.
For example:
showcase > FileEntry > Callback:
When navigating to the Callback demo all messages generated on previous fileEntry demos are rendered inside a single message panel, like in attached screen shot.
For example:
showcase > FileEntry > Callback:
When navigating to the Callback demo all messages generated on previous fileEntry demos are rendered inside a single message panel, like in attached screen shot.
rev 46259
note that the fileEntry examples all had the same id and so used <ace:message for="...." with a unique id for each example to ensure that the actual message (since the fileEntry is the only component on the form don't need ace:messages), is tied to a unique component id.
For the growlMessages and ace:messages example use the following
<icecore:config messagePersistence="false"/>
to clear the messages between requests.