[
https://jira.jboss.org/browse/GTNPORTAL-1377?page=com.atlassian.jira.plug...
]
Julien Viet updated GTNPORTAL-1377:
-----------------------------------
Attachment: patch.txt
the patch that adds proper support for Date objects.
for now it uses DateFormat.getDateInstance(DateFormat.FULL, locale); to format the date, I
don't know if this is what we want to use, or maybe use another formatter
Locale encoding in Groovy templates
-----------------------------------
Key: GTNPORTAL-1377
URL:
https://jira.jboss.org/browse/GTNPORTAL-1377
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Julien Viet
Assignee: Vu Viet Phuong
Fix For: 3.2.0-GA
Attachments: patch.txt
Original Estimate: 6 hours
Remaining Estimate: 6 hours
Support method for encoding locale related values should be provided by the the
integration of the template engine.
The locale should be used from the current locale.
New methods should be added on the WebuiBindingContext to perform conversion of Date
object like:
public String encode(Date date) { .... }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira