You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/11/02 06:14:16 UTC

[jira] Created: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
--------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-1136
                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1
         Environment: firefox 1.5.0.7
            Reporter: Andreas Andreou
         Assigned To: Andreas Andreou


I've confirmed this for en, el, en_gb. The javascript error is
Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en

This can be seen in the Timetracker demo...
In that case, the server logs also contain:
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1136?page=comments#action_12446824 ] 
            
Andreas Andreou commented on TAPESTRY-1136:
-------------------------------------------

ok, i take that last back...
using 
<div dojoType="datepicker" lang="en"></div> 
fails in dojo too...

> DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1136
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: firefox 1.5.0.7
>            Reporter: Andreas Andreou
>         Assigned To: Andreas Andreou
>
> I've confirmed this for en, el, en_gb. The javascript error is
> Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en
> This can be seen in the Timetracker demo...
> In that case, the server logs also contain:
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1136?page=comments#action_12447133 ] 
            
Andreas Andreou commented on TAPESTRY-1136:
-------------------------------------------

http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book80 explains the process...

We can get away of those issues by instructing our AjaxShellDelegate to also append
a djConfig.locale entry.

> DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1136
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: firefox 1.5.0.7
>            Reporter: Andreas Andreou
>         Assigned To: Andreas Andreou
>
> I've confirmed this for en, el, en_gb. The javascript error is
> Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en
> This can be seen in the Timetracker demo...
> In that case, the server logs also contain:
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1136?page=comments#action_12446844 ] 
            
Andreas Andreou commented on TAPESTRY-1136:
-------------------------------------------

http://trac.dojotoolkit.org/ticket/1820

> DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1136
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: firefox 1.5.0.7
>            Reporter: Andreas Andreou
>         Assigned To: Andreas Andreou
>
> I've confirmed this for en, el, en_gb. The javascript error is
> Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en
> This can be seen in the Timetracker demo...
> In that case, the server logs also contain:
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1136?page=comments#action_12446822 ] 
            
Andreas Andreou commented on TAPESTRY-1136:
-------------------------------------------

Here's a simple way to reproduce this:

    <form jwcid="@Form" listener="listener:test">
        <input jwcid="@DropdownDatePicker" value="ognl:new java.util.Date()"/>
        <div dojoType="datepicker"></div>
    </form>

Only the second picker is shown (i.e. dojo isn't responsible for this)

> DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1136
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: firefox 1.5.0.7
>            Reporter: Andreas Andreou
>         Assigned To: Andreas Andreou
>
> I've confirmed this for en, el, en_gb. The javascript error is
> Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en
> This can be seen in the Timetracker demo...
> In that case, the server logs also contain:
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (TAPESTRY-1136) DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1136?page=all ]

Andreas Andreou resolved TAPESTRY-1136.
---------------------------------------

    Fix Version/s: 4.1.1
       Resolution: Fixed

> DropdownDatePicker and DropdownTimePicker do not display when default browser language isn't en-us
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1136
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1136
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: firefox 1.5.0.7
>            Reporter: Andreas Andreou
>         Assigned To: Andreas Andreou
>             Fix For: 4.1.1
>
>
> I've confirmed this for en, el, en_gb. The javascript error is
> Error: Bundle not found: gregorian in dojo.i18n.calendar , locale=en
> This can be seen in the Timetracker demo...
> In that case, the server logs also contain:
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/TimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownTimePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en/DropdownDatePicker.js' does not exist.
> Asset [WARN] Classpath resource '/dojo/src/widget/nls/en-us/DropdownDatePicker.js' does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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