I was out of the office for last week, I'll create a ticket in jira, I was using the HTML viewer, so far I haven't found out a way to enable the scimpi viewer, which I prefer.
Jason Richardson National Payments Service (NPS) Technical Lead USDA/FSA/AFAO/SCADG (Administrative and Financial Applications Office) (Service Center Accounting & Debt Group) Office Ph: (816) 823-5296 Cubicle: 3NW024 NPS I.T. Matrix (JIRA) NPS Email Groups Listing -----Original Message----- From: Robert Matthews [mailto:[email protected]] Sent: Thursday, May 10, 2012 2:18 PM To: [email protected] Subject: Re: Problem with Date fields on my Domain Objects Try using the ISO format as a test to see if will accept any date, so enter 2012-09-05. If that doesn't work then it's not just formatting. If that works then try 05/09/12. What UI are you using the HTML, Scimpi or Wicket viewers? Rob On 09/05/12 17:34, Richardson, Jason - FSA, Kansas City, MO 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 > > > > > This electronic message contains information generated by the USDA solely for > the intended recipients. Any unauthorized interception of this message or the > use or disclosure of the information it contains may violate the law and > subject the violator to civil or criminal penalties. If you believe you have > received this message in error, please notify the sender and delete the email > immediately. >
