You need field="startTime" instead of field="event.startTime",
same for endTime.
Cheers, Freddy

On Wednesday, November 16, 2011 10:37 PM,
ted_smith2...@comcast.net wrote:

Now I am working on a custom date type convert and set in action
bean
class MyActionBean {
     private Event _event;
@ValidateNestedProperties({
        @Validate(field="event.startTime",
converter=CustomDateTyeConverter.class),
        @Validate(field="event.endTime",
converter=CustomDateTyeConverter.class)
    })
  getEvent
  setEvent.
}
event is an object having its own property startTime, which needs
the Custom converter.
public class CustomDateTyeConverter implements
TypeConverter<Date>{
But the custom converter is not called during validation.
Thanks in advance

--------------------------------------------------------------------------
----
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to