[
https://issues.apache.org/jira/browse/WICKET-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2106.
-----------------------------------
Resolution: Duplicate
Assignee: Igor Vaynberg
the core issue is duplicate of WICKET-2093
other than that your form should not be a transparent resolver. transparent
resolver works for components that do not depend on component hierarchy.
formcomponents, however, do depend on that hierarchy to find their form. see
the .rar i attached which shows proper nesting for your usecase.
> SubmitLink does not work when used inside Form that is a transparent resolver
> -----------------------------------------------------------------------------
>
> Key: WICKET-2106
> URL: https://issues.apache.org/jira/browse/WICKET-2106
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC2
> Environment: Not relevant.
> Reporter: Martijn Reuvers
> Assignee: Igor Vaynberg
> Attachments: testsubmitlink.rar, testsubmitlink.zip
>
>
> When a submitlink is added as a child to a form, of which the Form is a
> transparent resolver: Either the onclick is not rendered properly, or the
> onclick is rendered ok but the 'event' never gets in the onSubmit() of the
> link. A test quickstart test project is attached to this ticket to simulate
> the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.