[ https://issues.apache.org/jira/browse/WICKET-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421057#comment-15421057 ]
ASF subversion and git services commented on WICKET-6225: --------------------------------------------------------- Commit 73ff3da38f34c8781ae367b0be54463d78abd47f in wicket's branch refs/heads/wicket-7.x from [~mgrigorov] [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=73ff3da ] WICKET-6225 Button wrongly sets its model object as 'value' attribute If there is no model object then use the text from the markup > Button wrongly sets its model object as 'value' attribute > --------------------------------------------------------- > > Key: WICKET-6225 > URL: https://issues.apache.org/jira/browse/WICKET-6225 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 7.4.0, 6.24.0 > Reporter: Martin Grigorov > Assignee: Martin Grigorov > Fix For: 8.0.0-M2, 6.25.0, 7.5.0 > > > 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)