[
https://issues.apache.org/jira/browse/WICKET-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666842#action_12666842
]
Pieter van Prooijen commented on WICKET-1855:
---------------------------------------------
Ik ben afwezig van 15 januari t/m 23 januari
Mvg,
Pieter van Prooijen
Ir. P. van Prooijen
Consultant
GSM: +31 (0)6 28 82 82 12
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
[1]www.daidalos.nl
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit
bericht kunnen geen rechten worden ontleend.
----------------------------------------------------------------------------------------
[1] http://www.daidalos.nl/
----------------------------------------------------------------------------------------
[1] http://www.daidalos.nl/
> Using an AjaxSubmitLink outside of a Form does not set the form property
> ------------------------------------------------------------------------
>
> Key: WICKET-1855
> URL: https://issues.apache.org/jira/browse/WICKET-1855
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.4
> Reporter: Pieter van Prooijen
> Priority: Minor
>
> When constructing an AjaxSubmitLink outside of a form using the constructor:
> public AjaxSubmitLink(String id, final Form form)
> The form argument is not set in the link. This prevents the form from seeing
> the link as its submitting component, which in turn means that using thing
> like enableDefaultFormProcessing() on the link don't work.
> Changing the constructor of AjaxSubmitLink to:
> public AjaxSubmitLink(String id, final Form form)
> {
> super(id, form) /* was: super(id) */
> ...
> }
> will probably fix the problem.
> A temporary workaround is to implement a getForm() method in the subclass of
> the submit link which answers the form of the link
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.