You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/05/14 14:27:31 UTC

[jira] Commented: (WW-1295) Datepicker doesn't work with swedish locale (with workarounds)

    [ http://issues.apache.org/struts/browse/WW-1295?page=comments#action_37351 ] 

tm_jee commented on WW-1295:
----------------------------

I think we should close this as well.

> 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
>     Assignee: Rainer Hermanns
>      Fix For: 2.0

>
>  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