Hi Jason,

Here's a quick test:

In the date field, enter "today" and see how it formats the date. You 
might be up against Java regionalisation affected which date formats it 
considers are valid.

"Today" is a special text value, and ought to be accepted.

After that, see if you can reverse engineer the date format?

Regards,
Kevin

On 9 May 2012 at 16:34, Richardson, Jason - FSA, Kans wrote:

> I have a domain object that has a java.util.Date.
> When running my app, I can't get a date to be accepted.  I have tried 
> multiple date formats.  And I even put in a property.
> isis.value.format.date=dd/MM/yyyy
> 
> My DOM has this for the code:
> It's a java.util.Date.
> 
> 
>         private Date shiftDate;
> 
>         @MemberOrder(sequence = "1")
>         public Date getShiftDate() {
>                 return shiftDate;
>         }
> 
>         public void setShiftDate(Date shiftDate) {
>                 this.shiftDate = shiftDate;
>         }
> 
> 
> Example return on my webpage:
> * Not recognised as a date: 05/09/2012
> 
> 
> Jason Richardson

Reply via email to