[ http://jira.codehaus.org/browse/DISPL-204?page=all ]
fabrizio giustina closed DISPL-204:
-----------------------------------
Resolution: Fixed
Fix Version: 1.1
new DisplaytagColumnDecorator interface in 1.1, with additional pageContext and
Media parameters
> extend ColumnDecorator interface for localization/internationalization
> ----------------------------------------------------------------------
>
> Key: DISPL-204
> URL: http://jira.codehaus.org/browse/DISPL-204
> Project: DisplayTag
> Type: New Feature
> Versions: 1.1
> Reporter: Ralf Hauser
> Fix For: 1.1
> Attachments: ColumnDecorator.java.patch
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> For example, the org.displaytag.sample.LongDateWrapper only takes the
> "MM/dd/yyyy HH:mm:ss" format and I don't see how to localized that because it
> is not possible to access the locale.
> One option is to extend the decorate(Object columnValue) method signature by
> HttpServletRequest request, thus being able to retrieve the Locale from the
> request or the session (by request.getSession()).
> Doing that as per the DISPL-172 via PageContext is a related option.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel