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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users