ICEfaces
  1. ICEfaces
  2. ICE-10744

showcase - demos that use ace:messages not clearing errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.
      1. callback.PNG
        32 kB
      2. callback1.PNG
        19 kB

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46306 Tue Dec 01 10:41:13 MST 2015 judy.guglielmin ICE-10744 added value "@inView" to "for" attribute to allow users to select messages for components only existing in the current view. Both ace:messages and ace:growlMessages now have this new feature.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/growlmessages/GrowlMessagesMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/messages/MessagesMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/growlmessages/GrowlMessagesRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/messages/MessagesRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ComponentUtils.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46278 Tue Nov 24 11:13:40 MST 2015 judy.guglielmin ICE-10744 added appropriate attributes to ace:message to get all info
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryCallback.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryValidation.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryFailpop.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryListener.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46259 Fri Nov 20 16:26:25 MST 2015 judy.guglielmin ICE-10744. Used the <ace:message for="..with a unique id for each fileEntry example. No need to use ace:messages when there is a single component in the form. for the ace:messages and ace:growlMessages examples used <icecore:config messagePersistence="false"/> to clear the messages between the samples.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/growlmessages/growlmessages.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileentry.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryCallback.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryMultiple.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryValidation.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryFailpop.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/messages/messages.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryListener.xhtml

            People

            • Assignee:
              Judy Guglielmin
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: