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 2011/04/28 17:11:03 UTC
[jira] [Updated] (WICKET-3654) Using AjaxSubmitLink in a Form with
CompoundPropertyModel fails if link-id does not match model value
[ https://issues.apache.org/jira/browse/WICKET-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-3654:
------------------------------------
Comment: was deleted
(was: Please attach a quickstart.)
> Using AjaxSubmitLink in a Form with CompoundPropertyModel fails if link-id does not match model value
> -----------------------------------------------------------------------------------------------------
>
> Key: WICKET-3654
> URL: https://issues.apache.org/jira/browse/WICKET-3654
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.17
> Reporter: Martin Dilger
>
> If I use an AjaxSubmitLink in a Form, that has a CompoundPropertyModel set, there is no way to attach this Link to the Form, if
> the link-id does not match an attribute in the underlying model.
> Problem is, AjaxSubmitLink does not provide a Constructor, that I can pass an empty model reference to.
> In case of an SubmitLink, this might not be as unusual as one might first think, so please consider to provide a Constructor
> which accepts a Model-Reference.
> public AjaxSubmitLink(String id, IModel<?> model){
> super(id, model);
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira