Wednesday, January 06, 2010

format date in Grails view

I had a lot of issues formatting date in the JSP view of Grails. You have to be very careful in the argument you provide to format date. In the case
${fieldValue(bean:domainInstance, field:'dateChanged')} did not work for me and I had to use this:- . Do not forget the double quotes else it will print SYSDATE!!

No comments:

Post a Comment

Thank you for your feedback