[ 
https://issues.apache.org/jira/browse/WICKET-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421064#comment-15421064
 ] 

ASF subversion and git services commented on WICKET-6225:
---------------------------------------------------------

Commit b8d6c23c662912a358b4da2da9828ddbbbe1cba2 in wicket's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=b8d6c23 ]

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)

Reply via email to