Wicket
  1. Wicket
  2. WICKET-1377

AbstractCalendar use the wrong resources path

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.2
    • Component/s: wicket-datetime
    • Labels:
      None
    • Environment:
      JDK1.6 on windows xp

      Description

      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.

        Activity

        SimonLei created issue -
        Hide
        Gerolf Seitz added a comment -

        thanks

        Show
        Gerolf Seitz added a comment - thanks
        Gerolf Seitz made changes -
        Field Original Value New Value
        Assignee Gerolf Seitz [ seitz ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3.2 [ 12312942 ]
        Resolution Fixed [ 1 ]
        Igor Vaynberg made changes -
        Assignee Gerolf Seitz [ seitz ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8d 22h 25m 1 Gerolf Seitz 08/Mar/08 00:03

          People

          • Assignee:
            Unassigned
            Reporter:
            SimonLei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development