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

NextButton isEnabled() should bo logical conjunction of getWizardModel().isNextAvailable() and super.isEnabled()

    XMLWordPrintableJSON

Details

    Description

      The implementation of isEnabled in NextButton breaks the implicit contract of setEnabled(false) -> isEnabled() returning false. There is no apparent reason and no explanation to why this is done.

      Implementation should be
      return super.isEnabled() && getWizardModel().isNextAvailable();

      Attachments

        Activity

          People

            svenmeier Sven Meier
            bjorertz Mikael Björertz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified