|
I am thinking that the tag is used to convert a valid java.util.Date. So first you need to get your date into a valid java.util.Date field. HTH, Aaron Bartell -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Smith, Mike Sent: Monday, October 03, 2005 1:38 PM To: wdsci-l@xxxxxxxxxxxx Subject: [WDSCI-L] JSF ? I'm experimenting with JSF a little(again). I'm trying to use the following <h:outputText id="text12" value="#{varflightsdata.ARRTIME}" styleClass="outputText" style="background-color: #80ff00"> <f:convertDateTime type="time" timeStyle="short" timeZone="America/New_York"/> However the convertDateTime doesn't return the correct time. My database is has both 6.0 and a 6(char) fields in it. I have tried using convertDateTime on both, but neither is giving me the desired results. I have tried searching on convertDateTime, but I haven't figured out exactly what kind of value it wants. Anyone Know? I have loads more questions, but I start with this one. Michael Smith iSeries.mySeries. -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.