struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rene Gielen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1295) Datepicker doesn't work with swedish locale (with workarounds)
Date Fri, 28 Apr 2006 06:42:19 GMT
    [ http://issues.apache.org/struts/browse/WW-1295?page=comments#action_37240 ] 

Rene Gielen commented on WW-1295:
---------------------------------

Hmm, since jscalendar was kicked out, this issue is hard to solve :)

I have not checked yet, but do we already have an action2-extens project at OS where the extensions
with licensing issues should be located? As for jscalendar, we had quite heavy improvements
beside the integration stuff, so we might want to give them a new home.

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message