-
1. Re: rich:simpleTogglePanel misses first click
maksimkaszynski Oct 3, 2007 8:32 AM (in response to stuartm1971)Code example, please.
-
2. Re: rich:simpleTogglePanel misses first click
stuartm1971 Oct 3, 2007 10:22 AM (in response to stuartm1971)This togglePanel appears in a colum of a rich dataTable and itself contains a subtable.
<rich:simpleTogglePanel actionListener="#{failedXMLDataBean.populateMessageDetails}"
opened="false" switchType="ajax"
label="Details...'">
<a4j:actionparam name="transId" value="#{tableitem.transactionId}" />
<rich:subTable id="subtable" value="#{failedXMLDataBean.messageDetails}" var="subtableitem"
binding="#{failedXMLDataBean.messageDetailSubTableComponent}">
<rich:column>
...numerous data columns...
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Originating XML" />
</f:facet>
<%--open up the corresponding xml in a modalpanel--%>
<a4j:commandButton value="Select: #{tableitem.transactionId}"
actionListener="#{failedXMLDataBean.populateStaffPlannerDetailsFromSubTable}">
<a4j:actionparam name="empNo" value="#{tableitem.employeeNumber}" />
</a4j:commandButton>
</rich:column>
</rich:subTable>
</rich:simpleTogglePanel>