You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by CLEMENT Sébastien GC EUR <se...@globecast.com> on 2006/03/16 12:38:58 UTC

CollapsiblePanel problem

Hi,

I have a problem with the tag <t:collapsiblePanel>. I use myfaces1.1.1.
My code is :
<t:collapsiblePanel collapsed="true" value="Test"
binding="#{myBean.collapsiblePanel}">
	<h:inputText id="reference" value="#{myBean.reference}" size="30" />
	<h:selectManyListbox id="status" value="#{myBean.status}" size="4">
		<f:selectItem itemValue="#{myBean.statusOpen}"
itemLabel="#{appBundle.Open}" />
		<f:selectItem itemValue="#{myBean.statusReopened}"
itemLabel="#{appBundle.Reopened}" />
		<f:selectItem itemValue="#{myBean.statusInProgress}"
itemLabel="#{appBundle.InProgress}" />
		<f:selectItem itemValue="#{myBean.statusFrozen}"
itemLabel="#{appBundle.Frozen}" />
		<f:selectItem itemValue="#{myBean.statusResolved}"
itemLabel="#{appBundle.Resolved}" />
		<f:selectItem itemValue="#{myBean.statusClosed}"
itemLabel="#{appBundle.Closed}" />
	</h:selectManyListbox>
	<h:selectOneMenu id="domain" value="#{myBean.domain}">
		<f:selectItems value="#{myBean.domainsList}" />
	</h:selectOneMenu>
</t:collapsiblePanel>

When I collapse or expand, only the value of my inputText is saved. I miss
the value of selectManyListbox and selectOneMenu.
Any ideas?

Thanks.
Sebastien.