myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Marti (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-1046) t:collapsiblePanel doesn't work inside a t:panelTabbedPane and a s:subform.
Date Thu, 05 Jul 2007 13:41:04 GMT
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.


Mime
View raw message