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

          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
          Hide
          yip.ng added a comment -

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

          Show
          yip.ng added a comment - ICE-7361 , ICE-7388, ICE-7601 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: