Wicket
  1. Wicket
  2. WICKET-5401

provide no-argument constructor in string based header items

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.13.0, 7.0.0-M1
    • Component/s: None
    • Labels:

      Description

      currently ondomreadyheaderitem doesn't have a no-argument constructor,
      a no-argument constructor should be provided for the case when user doesn't want to pass script from constructor but wants to override ondomreadyheaderitem#getjavascript() ,it's still possible currently by passing "foo" something and then overriding getjavascript() but it's not good looking enough

        Activity

        Hide
        Martin Grigorov added a comment -

        OnDomReadyHeaderItem, OnLoadHeaderItem and OnEventHeaderItem now provide such no-javascript constructors.

        Show
        Martin Grigorov added a comment - OnDomReadyHeaderItem, OnLoadHeaderItem and OnEventHeaderItem now provide such no-javascript constructors.
        Hide
        vineet semwal added a comment -

        martin-g,
        thanks for the fix ..

        Show
        vineet semwal added a comment - martin-g, thanks for the fix ..

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            vineet semwal
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development