Datepicker doesn't work with swedish locale (with workarounds)
--------------------------------------------------------------
Key: WW-1295
URL: http://issues.apache.org/struts/browse/WW-1295
Project: Struts Action 2
Type: Bug
Components: Views
Versions: WW 2.2.2
Reporter: Peter Westlin
just found out why DatePicker doesn't work with swedish locale. It is because
the file is called calendar-sv.js when it in fact should be calendar-se.js.
That is, SV instead of SE.
Two workarounds:
1) Rename the file in the jar.
2) If you, like me, are using Maven, solution #1 is really not so nice. Then
just add
language="sv" in your JSP's so it looks something like:
<ww:datepicker name="aNiceSwedishNameLikeMeatBalls"
label="aNiceSwedishLabelLikeSmorgasbord"
language="sv"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]