Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DatasourceDateField

    Hi there,

    another little question, how can I modify the default date range selector by a simple date selector?


    Iv'e this datasource field :
    Code:
    DataSourceDateField departureDate = new DataSourceDateField("departureDate","Departure Date");
    departureDate.setDisplayFormat(DateDisplayFormat.TOEUROPEANSHORTDATE);
    but it doesn't format the date at all. The Date returned is a timestamp in an XML file, but instead of displaying the date, the component only shows the timestamp. And if I set some String that has nothing to do with a date, it shows the string without an error... Again, the javadoc cannot help me. Could you?

    thanks
    Last edited by romain.vdk; 30 Jun 2010, 04:16.
Working...
X