Hi all,
I am using t:columns tag to display dynamic number of columns inside a
dataTable. However, I do not want to display the first column: is there an
‘index’ type attribute that I can use in a JSTL tag like this:
<t:columns id="columns" value="#{workbenchForm.columns}" var="column"
index="columnIndex">
<c:if test="#{columnIndex}!=0">
<f:facet name="header">
<t:commandSortHeader columnName="#{column.label}" arrow="true"
actionListener="#{workbenchForm.actionListener}"
styleClass="cellDataHeader">
<h:outputText value="#{column.label}" />
</t:commandSortHeader>
</f:facet>
<h:outputLink value="#{workbenchForm.linkHref}" ><h:outputText
value="#{workbenchForm.columnValue}" /></h:outputLink>
</c:if>
</t:columns>
, or do I need to do this in a backing bean?
Thanks for helping,
Misha
--
View this message in context:
http://www.nabble.com/Is-there-an-index-attribute-to-t%3Acolumns----tf2229455.html#a6179420
Sent from the MyFaces - Users forum at Nabble.com.