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/29 16:37:16 UTC

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

     [ http://issues.apache.org/struts/browse/WW-1295?page=all ]
     
tm_jee resolved WW-1295:
------------------------

    Resolution: Won't Fix

Marking this as won't fix. But it will go into WW2.1.3. Thx for the patch Pete.

> 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