Details
-
Type: Improvement
-
Status: Closed
-
Priority: 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, seeICE-7505.
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
Issue Links
- blocks
-
ICE-7505 ICEfaces Showacase ace:confirmationPanel demo - The state of the button does not revert from "Hide" back to "Show" if you close the panel using the close icon
- Closed
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