Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 1.6.1, Seam 2.0.0 GA, Facelets
-
ICEsoft Forum Reference:
Description
Is this a bug or is this expected? What I want to do is have a button in the header of the collapsible panel that will allow me to close the collapsible panel, when the collapsible panel is expanded or not expanded. For example, I have the following Facelets code:
[code]<ice:panelCollapsible expanded="#{entry.expandPanel}" rendered="#{entry.display}">
<f:facet name="header">
<ice:panelGroup>
<ice:panelGrid columns="2">
<ice:outputText value="Column" />
<ice:commandButton type="submit" value="X" action="#{manager.closePanelCollapsible}" />
</ice:panelGrid>
</ice:panelGroup>
....
[/code]
If I click on the button when the collapsible panel is not expanded, nothing happens - i.e. the closePanelCollapsible method is not invoked. However, if I click on the button when the collapsible panel is expanded, the action method closePanelCollapsible gets called!
[code]<ice:panelCollapsible expanded="#{entry.expandPanel}" rendered="#{entry.display}">
<f:facet name="header">
<ice:panelGroup>
<ice:panelGrid columns="2">
<ice:outputText value="Column" />
<ice:commandButton type="submit" value="X" action="#{manager.closePanelCollapsible}" />
</ice:panelGrid>
</ice:panelGroup>
....
[/code]
If I click on the button when the collapsible panel is not expanded, nothing happens - i.e. the closePanelCollapsible method is not invoked. However, if I click on the button when the collapsible panel is expanded, the action method closePanelCollapsible gets called!
Issue Links
- duplicates
-
ICE-2146 PanelCollapsible not firing events from UICommands in header when collapsed
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
zzzz8 zzzz8
created issue -
Philip Breau
made changes -
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.7DR#1 [ 10100 ] | |
Fix Version/s | 1.6.2 [ 10111 ] | |
Resolution | Fixed [ 1 ] |
Philip Breau
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |