Wicket
  1. Wicket
  2. WICKET-1425

appendToInit() method is not called in class DatePicker

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.3.2
    • Fix Version/s: 1.3.5, 1.4-RC1
    • Component/s: wicket-datetime
    • Labels:
      None

      Description

      appendToInit method can be overridden in subclasses to facilitate extension of the DatePicker component.
      The method is currently not called in class DatePicker, so overriding the method in subclasses would have no effect.

      It should be called somewhere in renderHead() I suppose.

        Activity

        Hide
        Johan Compagner added a comment -

        eelco can you check out that method that doesnt seem to do anything that it supposed to be doing?

        Show
        Johan Compagner added a comment - eelco can you check out that method that doesnt seem to do anything that it supposed to be doing?
        Hide
        Eelco Hillenius added a comment -

        hmmm. unfortunately, that's been broken for a veeeeery long time; since rev 533781 of april 2007.

        The replacement for this is getAdditionalJavascript.

        Show
        Eelco Hillenius added a comment - hmmm. unfortunately, that's been broken for a veeeeery long time; since rev 533781 of april 2007. The replacement for this is getAdditionalJavascript.
        Hide
        Eelco Hillenius added a comment -

        deprecated the method for 1.3 and removed in trunk. Choose this because it has been broken for such a long time, and a good-enough replacement seems to be available in the form of 'getAdditionalJavascript'.

        Show
        Eelco Hillenius added a comment - deprecated the method for 1.3 and removed in trunk. Choose this because it has been broken for such a long time, and a good-enough replacement seems to be available in the form of 'getAdditionalJavascript'.

          People

          • Assignee:
            Eelco Hillenius
            Reporter:
            Stephan Koch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development