new RuntimeException("Cannot convert " + source + "
> to calendar type");
> }
> } else if (aClass == String.class) {
> Calendar o = (Calendar) object;
> log.debug(o.getTime());
> return df.format(o.getTime());
&
I have a collection of XMLGregorianCalendar objects that I would like to
display on a jsp page as a formatted date. So far I have tried creating my
own converter class to convert XMLGregorianCalendar to java.util.Date, but I
can't seem to get it called properly. What is the best way to get this
2 matches
Mail list logo