[
http://jira.jboss.com/jira/browse/RF-2023?page=all ]
Nick Belaevski updated RF-2023:
-------------------------------
Fix Version/s: 3.2.0
Assignee: Nick Belaevski
Calendar takes locale from view root if not set explicitly. However, that's not
possible for pattern as it's not exposed in JDK classes
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
Assigned To: Nick Belaevski
Priority: Optional
Fix For: 3.2.0
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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira