You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/08/15 13:12:20 UTC

[jira] [Created] (WICKET-6224) Button wrongly sets its model object as 'value' attribute

Martin Grigorov created WICKET-6224:
---------------------------------------

             Summary: Button wrongly sets its model object as 'value' attribute
                 Key: WICKET-6224
                 URL: https://issues.apache.org/jira/browse/WICKET-6224
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.24.0, 7.4.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)