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

Button wrongly sets its model object as 'value' attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 7.4.0, 6.24.0
    • None
    • wicket
    • None

    Description

      Currently Button component uses its model object as a value for its 'value' attribute.
      This is correct only when Button is used with <input type="button">, but is wrong when used with <button>. In the latter case the model object should be used as a child text.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: