Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2813

IndicatingAjaxButton should have construtors that take a IModel for the button text as does AjaxButton.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.7
    • 1.4.8, 1.5-M1
    • wicket-extensions
    • None

    Description

      IndicatingAjaxButton is missing the constructors that take an IModel for the button text that AjaxButton supports.

      public IndicatingAjaxButton(String id, IModel<String> model)
      public IndicatingAjaxButton(String id, IModel<String> model, Form<?> form)

      I think IndicatingAjaxButton should offer the same API as AjaxButton.

      Attachments

        1. IndicatingAjaxButton.diff
          1 kB
          Martin H.

        Activity

          People

            ivaynberg Igor Vaynberg
            textshell Martin H.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: