What you posted isn't valid:
You have:
<t:outputText ... /> <-- should be '>' not '/>'
<f:convert.../>
</t:outputText>
I could see how that might cause this tag to be ignored, provided it
was parsed at all.
On 5/31/07, Johnny Sutherland <[EMAIL PROTECTED]> wrote:
The timeZone and pattern values are not being read from the columnInfo
object when the tag is within a columns tag in a dataTable.
The columnInfo is set by the columns tag but the getter is not called.
However, if we access the values via an outputText tag e.g. (These values
are displayed) (These values are displayed)
the getters are accessed and the values displayed.
Here is a sample of the code.
<t:dataTable id="edbcd" styleClass="standardTable"
headerClass="standardTableHeader"
footerClass="standardText"
rowClasses="standardTable_Row1, standardTable_Row2" var="data"
preserveDataModel="false"
value="#{masterDataController.sortableList.dataModel}"
rows="10"
sortColumn="#{masterDataController.sortableList.sort}"
sortAscending="#{masterDataController.sortableList.ascending}"
preserveSort="false" renderedIfEmpty="false">
<t:columns var="columnInfo"
value="#{masterDataController.sortableList.columnInfos}"
styleClass="#{masterDataController.sortableList.columnStyleClass}">
<f:facet name="header">
<t:commandSortHeader columnName="#{columnInfo.columnName}" arrow="true"
styleClass="tableHeader" immediate="false"
action="#{masterDataController.sortableList.sort}">
<h:outputText value="#{columnInfo.columnHeader}" />
</t:commandSortHeader>
</f:facet>
<t:outputText
value="#{masterDataController.sortableList.columnValue}"
rendered="#{!masterDataController.sortableList.dataModel.selected}"
/>
<f:convertDateTime timeZone="#{columnInfo.timeZone}"
pattern="#{columnInfo.pattern}" /> (These values are not accessed)
<t/:outputText>
<h:outputText value="#{columnInfo.timeZone}" /> (These values will be
displayed)
<h:outputText value="#{columnInfo.pattern}" /> (These values will be
displayed)
</t:columns>
________________________________
View this message in context: Possible bug in the columns tag with the
convertDateTime tag
Sent from the My Faces - Dev mailing list archive at Nabble.com.