You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "SimonLei (JIRA)" <ji...@apache.org> on 2008/02/28 02:38:51 UTC

[jira] Created: (WICKET-1377) AbstractCalendar use the wrong resources path

AbstractCalendar use the wrong resources path
---------------------------------------------

                 Key: WICKET-1377
                 URL: https://issues.apache.org/jira/browse/WICKET-1377
             Project: Wicket
          Issue Type: Bug
          Components: wicket-datetime
    Affects Versions: 1.3.1
         Environment: JDK1.6 on windows xp
            Reporter: SimonLei
            Priority: Minor


I extends the AbstractCalendar, and want to show the calendar directly. 
But I got an "YAHOO is not defined" javascript error, because the javascripts' url it 
generated are not correct.

I find that the contributeDependencies methods in AbstractCalendar don't add the 
resources correctly. For example, the add(HeaderContributor.forJavaScript(YuiLib.class, "yahoo.js"));
should be add(HeaderContributor.forJavaScript(YuiLib.class, "yahoo/yahoo.js"));
and add(HeaderContributor.forJavaScript(YuiLib.class, "event.js")); should be
add(HeaderContributor.forJavaScript(YuiLib.class, "event/event.js"));
and other resources.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-1377) AbstractCalendar use the wrong resources path

Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerolf Seitz resolved WICKET-1377.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.2
         Assignee: Gerolf Seitz

thanks

> AbstractCalendar use the wrong resources path
> ---------------------------------------------
>
>                 Key: WICKET-1377
>                 URL: https://issues.apache.org/jira/browse/WICKET-1377
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.1
>         Environment: JDK1.6 on windows xp
>            Reporter: SimonLei
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.2
>
>
> I extends the AbstractCalendar, and want to show the calendar directly. 
> But I got an "YAHOO is not defined" javascript error, because the javascripts' url it 
> generated are not correct.
> I find that the contributeDependencies methods in AbstractCalendar don't add the 
> resources correctly. For example, the add(HeaderContributor.forJavaScript(YuiLib.class, "yahoo.js"));
> should be add(HeaderContributor.forJavaScript(YuiLib.class, "yahoo/yahoo.js"));
> and add(HeaderContributor.forJavaScript(YuiLib.class, "event.js")); should be
> add(HeaderContributor.forJavaScript(YuiLib.class, "event/event.js"));
> and other resources.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.