myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 2melo <>
Subject Dynamic collapsiblePanel
Date Tue, 12 Aug 2008 10:15:24 GMT


I need to create a dynamic collapsiblePanel for a list returned, I got the
collapsible to display on my page but the problem is that it doesn't expand.

This is the code I used, I used the tomahawk dataList and collapsiblePanel:

<t:dataList id="dtLst" var="vars" value="#{bean.xxLst}"
	<t:collapsiblePanel id="collapsId" var="collapse" title="Collapsible
#{lstCnt + 1}">
		<f:facet name="header">
				<t:headerLink immediate="true">
					<h:graphicImage alt="minusImage" url="../../img/minus.jpg"
rendered="#{!collapse}" />
					<h:graphicImage alt="plusImage" url="../../img/plus.jpg"
rendered="#{collapse}" />
					<h:outputText value="Collapsible #{lstCnt + 1}" />
		<h:panelGrid width="100%" frame="border" border="0" columns="4" 
				 cellpadding="2" cellspacing="2" align="left">		
				<h:outputText value="Some Data 1:"
						     style="font-weight: bold"></h:outputText>
					<h:outputText value="#{vars.poperty1}"/>									
					<h:outputText value="Some Data 2:" style="font-weight:
					<h:outputText value="#{vars.property2}"/>
	<t:htmlTag value="br" />

How can I get the collapsiblePanel to expand/collapse?

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message