You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2016/02/01 14:56:40 UTC
[jira] [Resolved] (WICKET-6080) Encapsulation of 3 enclosures leads
to WicketRuntimeException
[ https://issues.apache.org/jira/browse/WICKET-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene resolved WICKET-6080.
-------------------------------------
Resolution: Fixed
> Encapsulation of 3 enclosures leads to WicketRuntimeException
> -------------------------------------------------------------
>
> Key: WICKET-6080
> URL: https://issues.apache.org/jira/browse/WICKET-6080
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.1.0, 7.2.0
> Reporter: Fridolin Jackstadt
> Assignee: Andrea Del Bene
> Fix For: 7.3.0, 8.0.0-M1
>
> Attachments: wicket-enclosures.zip
>
>
> The attached example is working in wicket 7.0.0, but broken since 7.1.0 and also in 7.2.0-SNAPSHOT, with a different error message.
> The attached code is already shrinked to a minimum to reproduce the problem.
> {code:title=EnclosureTest.html|borderStyle=solid}
> <div wicket:enclosure="outer">
> <div wicket:id="outer">
> outer begin
> <div wicket:enclosure="middle">
> <div wicket:enclosure="inner">
> <div wicket:id="inner">inner</div>
> </div>
> <div wicket:id="middle">middle</div>
> </div>
> outer end
> </div>
> </div>
> {code}
> {code:title=EnclosureTest.java|borderStyle=solid}
> public EnclosureTest(String id) {
> super(id);
> WebMarkupContainer outer = new WebMarkupContainer("outer");
> outer.add(new WebMarkupContainer("inner"));
> outer.add(new WebMarkupContainer("middle"));
> add(outer);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)