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

Button wrongly sets its model object as 'value' attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.4.0, 6.24.0
    • 8.0.0-M2, 6.25.0, 7.5.0
    • 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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: