[
https://issues.apache.org/jira/browse/WICKET-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-6224.
-------------------------------------
Resolution: Duplicate
It seems JIRA created two issues at once.
> 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: 7.4.0, 6.24.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)