ICEfaces
  1. ICEfaces
  2. ICE-7506

ace:notificationPanel - Add new "visible" attribute and onDisplay event listener

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3, ace:notificationPanel
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      Currently, the application can control the panel's visibility via JS widget functions "show()/hide()". These should be augmented with a server-side mode, just like the ace:dialog now has. This would replace the existing "autoShow" attribute with a new "visible" one.

      Also, the ace:notificationPanel should have an event listener attribute (and synthetic JS event) that can be used by the application to be notified whenever the panel's display status changes ("show/hide"). This is useful when using the server-side "visible" attribute to toggle the visibility and the user closes the panel via the built-in "X"/close button to keep the visible attribute in sync.

      The issues with the current impl. limitations are illustrated in the ICEfaces Showcase, see ICE-7505.


        Issue Links

          Activity

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 3.0 [ 10241 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration]
          Assignee Priority P2
          Assignee yip.ng [ yip.ng ]
          Ken Fyten made changes -
          Link This issue blocks ICE-7505 [ ICE-7505 ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.0 [ 10241 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26806 Fri Dec 09 10:16:46 MST 2011 yip.ng ICE-7506: ace:notificationPanel - Add new "visible" attribute and onDisplay event listener.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/notificationpanel/NotificationPanelRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/notificationpanel/NotificationPanelMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/notificationpanel/notificationpanel.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/notificationpanel/NotificationPanelBean.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/notificationpanel/notificationPanel.xhtml
          Hide
          yip.ng added a comment - - edited

          autoDisplay attribute removed. Added visible attribute, close listener and display listener. TLD doc and showcase demo updated.

          Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\notificationpanel\notificationpanel.js
          Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\notificationpanel\NotificationPanelMeta.java
          Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\notificationpanel\NotificationPanelRenderer.java
          Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\src\main\java\org\icefaces\samples\showcase\example\ace\notificationpanel\NotificationPanelBean.java
          Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\src\main\webapp\resources\examples\ace\notificationpanel\notificationPanel.xhtml
          Completed: At revision: 26806

          Show
          yip.ng added a comment - - edited autoDisplay attribute removed. Added visible attribute, close listener and display listener. TLD doc and showcase demo updated. Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\notificationpanel\notificationpanel.js Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\notificationpanel\NotificationPanelMeta.java Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\notificationpanel\NotificationPanelRenderer.java Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\src\main\java\org\icefaces\samples\showcase\example\ace\notificationpanel\NotificationPanelBean.java Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\src\main\webapp\resources\examples\ace\notificationpanel\notificationPanel.xhtml Completed: At revision: 26806
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          yip.ng added a comment -

          ICE-7361, ICE-7388, ICE-7601.

          Show
          yip.ng added a comment - ICE-7361 , ICE-7388, ICE-7601 .
          Ken Fyten made changes -
          Fix Version/s 3.1.0.BETA1 [ 10335 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              yip.ng
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: