Closed GoogleCodeExporter closed 9 years ago
Hi Jonata,
If you wish to format your date, you can do
1) with Java code by adding in your Pojo a String getter
2) by using Velocity syntax (see
https://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generi
c/DateTool.html)/Freemarker syntax (see
http://freemarker.org/docs/ref_builtins_date.html)
If you the feature that I have explained
"Ex for Date Class type, we could generated automaticly the mapping
$myDate => $dateUtils.format($myDate, "DD/MM/YYY")
"
as I said, it's not implemented. It means that you wish the issue
https://code.google.com/p/xdocreport/issues/detail?id=41
Original comment by angelo.z...@gmail.com
on 8 Mar 2014 at 11:06
Very cool Angelo.
It worked!
I switched Velocity to Freemarker. Freemarker has much more features.
I was so eager to use Velocity that I didn't see this possibility!
Many thanks for the tip.
Original comment by jonatha....@gmail.com
on 9 Mar 2014 at 3:16
Hi Jonata,
Glad Freemarker helped you. I close this issue.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 9 Mar 2014 at 9:32
Original issue reported on code.google.com by
jonatha....@gmail.com
on 8 Mar 2014 at 10:01