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

Use the correct cast in WizardButtonBar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.3
    • wicket-extensions
    • None

    Description

      WizardButtonBar.getDefaultButton() uses a cast to Button before returning the found component.
      However, the interface only expects a IFormSubmittingComponent being returned.
      This makes it hard to subclass this button bar to add our own logic using SubmitLinks instead of Buttons. Those casts should be changed to IFormSubmittingComponent.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            tapter Matthias Keller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified