your converter patterns seems to be invalid.
try this: <f:convertDateTime pattern="MM-dd-yyyy" />
thomas
On Apr 3, 2005 8:18 PM, Roger Lee, NOTiFY <[EMAIL PROTECTED]> wrote:
>
> I create an ArrayList comprising of 31 Value Objects.
>
> I attempting to display all 31 using the DataTable component using the
> following my JSP. To test I am only trying to display two columns;
>
> Number of Days & Startdate. No matter what I do I get the two headers, but
> only one column of data "number of days".
>
> <body>
> <f:view>
> <h:panelGroup id="body">
> <h:form id="facilityDetailForm">
> <h:panelGrid columns="2" >
> <h:dataTable id="facilityDetailTable"
>
> value="#{facilityDetailDataModelBean.facilityDetailList}"
> var="facilityDetailList"
>
> columnClasses="ListCenter, ListCenter" >
>
> <h:column>
> <f:facet name="header">
> <h:outputText id="days" value="Days">
> </h:outputText>
> </f:facet>
>
> <h:outputText id="endDate"
> value="#{facilityDetailList.days}">
> </h:outputText>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <h:outputText id="days" value="Start Date">
> </h:outputText>
> </f:facet>
>
> <h:outputText id="endDate"
> value="#{facilityDetailList.startDate}">
> <f:convertDateTime pattern="MM-DDD-YYYY" />
> </h:outputText>
> </h:column>
>
> </h:dataTable>
> </h:panelGrid>
> </h:form>
> </h:panelGroup>
> </f:view>
> </body>
>
>
> Any suggestions?
>
> Thanks,
>
> Roger Lee
>
> Internet communications are not secure and therefore NOTiFY
> does not accept legal responsibility for the contents of this message.
> Although NOTiFY operates anti-virus programmes, it does not
> accept responsibility for any damage whatsoever that is caused by
> viruses being passed. Any views or opinions presented are solely those
> of the author and do not necessarily represent those of NOTiFY.
> Replies to this email may be monitored by NOTiFY for operational or
> business reasons.
>
>