You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/06/26 04:56:45 UTC
[jira] Commented: (TOMAHAWK-1046) t:collapsiblePanel doesn't work
inside a t:panelTabbedPane and a s:subform.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608257#action_12608257 ]
Leonardo Uribe commented on TOMAHAWK-1046:
------------------------------------------
related to TOMAHAWK-1110
> t:collapsiblePanel doesn't work inside a t:panelTabbedPane and a s:subform.
> ---------------------------------------------------------------------------
>
> Key: TOMAHAWK-1046
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1046
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: SubForm
> Affects Versions: 1.1.6
> Environment: 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
> Reporter: Bruno Marti
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.