Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1046

t:collapsiblePanel doesn't work inside a t:panelTabbedPane and a s:subform.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.6
    • 1.1.7
    • SubForm
    • None
    • Windows XP, Tomcat 5.5.23, Firefox 2.0.04, IE7
      myfaces-1.1.6-snapshot, tomahawk-1.1.7-snapshot, tomahawk-sandbox-1.1.6-snapshot

    Description

      The collapsiblePanel doesn't work inside a t:panelTabbedPane and a s:subform. Collapse isn't executed.
      If the collapsiblePanel is defined outside the subForm, it works fine

      — this DOESN't work ----
      <h:form>
      <t:panelTabbedPane serverSideTabSwitch="true">
      <t:panelTab label="myTab">
      <s:subForm>
      <t:collapsiblePanel id="collapsePanelPhone"
      value="#

      {myBean.phoneCollapsed}"
      var="phonePanelCollapsed">

      <f:facet name="header">
      <t:div id="xyz">
      <t:headerLink immediate="true"
      actionListener="#{myBean.changePhoneCollapsed}">
      <h:outputText value="collapsedYes"
      rendered="#{phonePanelCollapsed}" />
      <h:outputText value="collapsedNo"
      rendered="#{!phonePanelCollapsed}" />
      </t:headerLink>
      <t:panelGroup rendered="#{!phonePanelCollapsed}">
      <h:outputText value="openContent" />
      <h:inputText value="openContent_2" />
      <h:outputText value="openContent_33" />
      </t:panelGroup>
      <f:facet name="closedContent">
      <h:outputText value="closedContent" />
      </f:facet>
      </t:div>
      </f:facet>
      </t:collapsiblePanel>
      </s:subForm>
      </t:panelTab>
      ...




      — this works fine —
      <h:form>
      <t:panelTabbedPane serverSideTabSwitch="true">
      <t:panelTab label="myTab">
      <t:collapsiblePanel id="collapsePanelPhone"
      value="#{myBean.phoneCollapsed}

      "
      var="phonePanelCollapsed">

      <f:facet name="header">
      <t:div id="xyz">
      <t:headerLink immediate="true"
      actionListener="#

      {myBean.changePhoneCollapsed}

      ">
      <h:outputText value="collapsedYes"
      rendered="#

      {phonePanelCollapsed}

      " />
      <h:outputText value="collapsedNo"
      rendered="#

      {!phonePanelCollapsed}" />
      </t:headerLink>
      <t:panelGroup rendered="#{!phonePanelCollapsed}

      ">
      <h:outputText value="openContent" />
      <h:inputText value="openContent_2" />
      <h:outputText value="openContent_33" />
      </t:panelGroup>
      <f:facet name="closedContent">
      <h:outputText value="closedContent" />
      </f:facet>
      </t:div>
      </f:facet>
      </t:collapsiblePanel>
      ...

      any suggestions
      thx, bruno

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            martib Bruno Marti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: