[richfaces-issues] [JBoss JIRA] Created: (RF-2023) set Locale/DatePattern for Calendar globally (eg. in a web.xml context-param or something)

Richard Kennard (JIRA) jira-events at lists.jboss.org
Wed Jan 23 20:56:21 EST 2008


set Locale/DatePattern for Calendar globally (eg. in a web.xml context-param or something)
------------------------------------------------------------------------------------------

                 Key: RF-2023
                 URL: http://jira.jboss.com/jira/browse/RF-2023
             Project: RichFaces
          Issue Type: Feature Request
    Affects Versions: 3.1.3
         Environment: All
            Reporter: Richard Kennard
            Priority: Optional


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list