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
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 -
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 | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/notificationpanel/NotificationPanelRenderer.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/notificationpanel/NotificationPanelMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/notificationpanel/notificationpanel.js MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/notificationpanel/NotificationPanelBean.java MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/notificationpanel/notificationPanel.xhtml |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 3.1.0.BETA1 [ 10335 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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