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 Attachments: ColumnDecorator.java.patch 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: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel