[
https://issues.apache.org/jira/browse/WICKET-6076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098437#comment-15098437
]
ASF subversion and git services commented on WICKET-6076:
---------------------------------------------------------
Commit 25fe3f68aa25d3e1f8f3e19383ed79b10ff308a7 in wicket's branch
refs/heads/master from [~bitstorm]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=25fe3f6 ]
WICKET-6076 Problem with queued components and enclosure
> 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)