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

        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 6.13.0 [ 12325564 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov made changes -
        Summary provide no-argument constructor in ondomreadyheaderitem provide no-argument constructor in string based header items
        Martin Grigorov made changes -
        Assignee Martin Grigorov [ mgrigorov ]
        vineet semwal made changes -
        Field Original Value New Value
        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()

        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 :)

        vineet semwal created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development