If #{myBean.birthdate} is of type java.util.Calendar or java.util.Date , can I format it inside the EL itself using an existing function, possibly with an output similar to the one created using DateFormat SHORT , MEDIUM , LONG abd FULL output type?
Instead of displaying the full form for #{myBean.birthdate} : Wed Jan 19, 19:01:42 WIT 2011 , I just prefer the simple conclusion on January 19, 2011 .
Should I use #{formatBean.format(myBean.birthdate)} instead?
el jsf date-formatting
bertie Jan 19 '11 at 12:11 2011-01-19 12:11
source share