Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE 3.x
-
Assignee Priority:P2
-
Workaround Exists:Yes
-
Workaround Description:In the application, take the DateFormatSymbols and populate your .xhtml file with the javascript localisation strings manually for each locale that you support.
Description
When our dateTimeEntry component was YUI based and more rendered from the server, we had the ability to support any localisation that Java supports, automatically, as of ICE-6081. Since transitioning to basing dateTimeEntry off of jQuery, with it's rendering being done client side in javascript, we've used a model where the localisation is up to the application, as demonstrated in dateTimeEntry-locale-tutorial.
It would be good to provide a means to hook into the faces-config.xml supported-locale and default-locale entries, and provide a means of populating the javascript locale structures based off of the Java server DateFormatSymbols.
One necessity is that f:convertDateTime will take the client provided date string and pass it to a DateTimeConverter, which will use all of the Java in-built localisation strings, and cause conversion errors if the given string doesn't match the in-built strings. So it makes sense to make it use what it expects, and not encourage arbitrary strings from applications.
It would be good to provide a means to hook into the faces-config.xml supported-locale and default-locale entries, and provide a means of populating the javascript locale structures based off of the Java server DateFormatSymbols.
One necessity is that f:convertDateTime will take the client provided date string and pass it to a DateTimeConverter, which will use all of the Java in-built localisation strings, and cause conversion errors if the given string doesn't match the in-built strings. So it makes sense to make it use what it expects, and not encourage arbitrary strings from applications.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Workaround Description | In the application, take the DateFormatSymbols and populate your .xhtml file with the javascript localisation strings manually for each locale that you support. | |
Assignee | yip.ng [ yip.ng ] | |
Fix Version/s | 3.4 [ 10770 ] | |
Workaround Exists | Yes [ 10007 ] |
Ken Fyten
made changes -
Assignee Priority | P2 [ 10011 ] |
yip.ng
made changes -
Attachment | screenshot-01.png [ 16129 ] |
yip.ng
made changes -
Attachment | screenshot-02.png [ 16130 ] |
yip.ng
made changes -
Attachment | screenshot-03.png [ 16131 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Carmen Cristurean
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Carmen Cristurean
made changes -
Attachment | dateTimeEntry-locale-FF21.png [ 16136 ] |
Ken Fyten
made changes -
Assignee | yip.ng [ yip.ng ] | Nils Lundquist [ nils.lundquist ] |
Nils Lundquist
made changes -
Assignee | Nils Lundquist [ nils.lundquist ] | yip.ng [ yip.ng ] |
yip.ng
made changes -
Attachment | screenshot-04.png [ 16148 ] |
yip.ng
made changes -
Attachment | screenshot-05.png [ 16149 ] |
yip.ng
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |