ICEfaces
  1. ICEfaces
  2. ICE-2560

Action listener method not called in ice:panelCollapsible when component is not expanded

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2, 1.7DR#1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 1.6.1, Seam 2.0.0 GA, Facelets

      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!

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zzzz8 zzzz8
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: