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