[richfaces-issues] [JBoss JIRA] Commented: (RF-2023) set Locale/DatePattern for Calendar globally (eg. in a web.xml context-param or something)
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Sat Jun 6 16:35:57 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12470898#action_12470898 ]
Nick Belaevski commented on RF-2023:
------------------------------------
Sure, Richard. The issue is not closed still, so we'll do that for pattern
> set Locale/DatePattern for Calendar globally (eg. in a web.xml context-param or something)
> ------------------------------------------------------------------------------------------
>
> Key: RF-2023
> URL: https://jira.jboss.org/jira/browse/RF-2023
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.1.3
> Environment: All
> Reporter: Richard Kennard
> Assignee: Nick Belaevski
> Priority: Optional
> Fix For: Future
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> It would be great if you could set the Locale/DatePattern for the Calendar control globally (eg. in a web.xml context-param or something), rather than having to put...
> <rich:calendar locale="..." datePattern="..."/>
> ...every time you use the tag? I know you can currently use an EL expression, like...
> <rich:calendar locale="#{globals.locale}" datePattern="#{globals.pattern}"/>
> ...but that requires extra plumbing on the part of the developer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list