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

Martin Grigorov commented on WICKET-3654:
-----------------------------------------

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

Reply via email to