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

Make is possible to position the choice label before/after/around the choice

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.16.0, 7.0.0-M2
    • Fix Version/s: 7.0.0-M3, 6.17.0
    • Component/s: wicket
    • Labels:
      None

      Description

      At the moment components like RadioChoice and CheckBoxMultipleChoice render the <label> after the choice, e.g. <input id="inputId" type=".." .../> <label for="inputId">Some text</label>.
      Some CSS frameworks (like Bootstrap and PureCSS) prefer the label to wrap the choice, e.g.: <label><input id="inputId" type=".." .../> Some text</label>.

      It should be possible to tell Wicket how to render the label programmatically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                mgrigorov Martin Tzvetanov Grigorov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: