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

Add ability to manage disabled items from subclasses of AbstractChoice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0 branch (discontinued)
    • 1.3.0-beta2
    • wicket
    • None

    Description

      AbstractChoice does almost everything but disabled items. This patch adds that ability.

      This is my first patch to Wicket. I had some question about whether to include a default implementation for isDisabled(), but that would have required a Map to be supplied. Then I started wondering about whether four more ctors should be provided to pass in the map. Then I decided it was better managed by the subclass. It can always be improved later.

      Attachments

        1. AbstractChoice.patch
          1 kB
          Brian Topping

        Activity

          People

            jbq Jean-Baptiste Quenot
            topping Brian Topping
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: