[
https://issues.apache.org/jira/browse/WICKET-6076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Del Bene reassigned WICKET-6076:
---------------------------------------
Assignee: Andrea Del Bene
> Problem with queued components and enclosure
> --------------------------------------------
>
> Key: WICKET-6076
> URL: https://issues.apache.org/jira/browse/WICKET-6076
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.1.0
> Reporter: Fridolin Jackstadt
> Assignee: Andrea Del Bene
> Attachments: wicket-queuing.zip
>
>
> Quickstart is attached.
> {code:title=HomePage.java|borderStyle=solid}
> WebMarkupContainer outer = new WebMarkupContainer("outer");
> WebMarkupContainer test = new WebMarkupContainer("test");
> add(outer);
> outer.queue(test);
> {code}
> {code:title=HomePage.html|borderStyle=solid}
> <div wicket:id="outer">
> <div wicket:enclosure="test">
> <p wicket:id="test">test</p>
> </div>
> </div>
> {code}
> Result:
> {noformat}
> org.apache.wicket.WicketRuntimeException: Could not find child with id: test
> in the wicket:enclosure
> at
> org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:300)
> at
> org.apache.wicket.markup.html.internal.Enclosure.getChildComponent(Enclosure.java:278)
> at
> org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:138)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)