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

SelectOptions unnecessary complicated markup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.7.0
    • 9.0.0
    • wicket-extensions
    • None

    Description

      SelectOptions requires an unnecessary complicate markup at the moment:{{}}

      <wicket:container wicket:id="selectOptions">
        <option wicket:id="option"></option>
      </wicket:container>

      Since SelectOptions is a RepeatingView, this is not needed actually. With minor changes support for a much simpler markup can be achieved:

      <option wicket:id="selectOptions"></option

      Attachments

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: