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