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

Slight AbstractChoice refactoring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3.0-beta4
    • 1.3.0-rc1
    • wicket
    • None

    Description

      I have had the need to change the way that options were escaped. I found that in order to change the settings, I had to override (and cut-n-paste the entire method) the appendOptionHtml() method to make the small fix. The change I propose is to refactor the escaping code to another method for easier extension.

      Attachments

        1. AbstractChoice.java.patch
          1 kB
          Chuck Deal

        Activity

          People

            jcompagner Johan Compagner
            cdeal Chuck Deal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: