[
https://issues.apache.org/jira/browse/WICKET-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4874.
-------------------------------------
Resolution: Fixed
Fix Version/s: 7.0.0
Assignee: Igor Vaynberg
The problem is solved by using the new queueing functionality implemented for
WICKET-3335.
In the attached quickstart replace
add(dropdown); and add(link);
with
queue(dropdown); and queue(link);
This way the 'link' is resolved as a child of the enclosure and is invisible as
desired.
> "Cannot find element with id" error seen in Ajax Debug for child of
> wicket:enclosure
> ------------------------------------------------------------------------------------
>
> Key: WICKET-4874
> URL: https://issues.apache.org/jira/browse/WICKET-4874
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.3.0
> Environment: Windows 7 x64 Java 1.6.0_32
> Reporter: Jesse Bonzo
> Assignee: Igor Vaynberg
> Priority: Minor
> Labels: ajax, enclosure, javascript
> Fix For: 7.0.0
>
> Attachments: WicketQuickStart.zip
>
>
> When an AjaxLink is hidden due to being a child of a wicket:enclosure an
> error is seen in the Ajax Debug window. It seems like the event handler is
> expecting the AjaxLink to exist in the DOM even though it has been hidden.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)