Hi all. I'm trying trunk now with a field in my domain-object (User) with a property of type DateTime:
private DateTime birthDate; Then I have a datepicker in my JSP operation on this property: <sx:datetimepicker name="user.birthDate" displayFormat="yyyy.MM.dd"/> And it renders the date correctly The problem is that it's failing when trying to save the form: 2008-12-16 23:01:14,874 DEBUG [UserAction.java:100] : In prepare() ognl.MethodFailedException: Method "setBirthDate" failed for object no.officenet.mvctest.struts2.backend.model.u...@cca81013 [java.lang.NoSuchMethodException: setBirthDate([Ljava.lang.String;)] Is this supposed to work? I thought so, reading this: The comment in WW-2476 saying that "This was resolved as part of XW-473", what does it actually mean? -- Andreas Joseph Krogh <[email protected]> Senior Software Developer / CEO ------------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Karenslyst Allé 11 | know how to do a thing and to watch | PO. Box 529 Skøyen | somebody else doing it wrong, without | 0214 Oslo | comment. | NORWAY | | Tlf: +47 24 15 38 90 | | Fax: +47 24 15 38 91 | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
