wicket:enclosure child attribute search path has changed
--------------------------------------------------------
Key: WICKET-2527
URL: https://issues.apache.org/jira/browse/WICKET-2527
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.2
Environment: project with created with archetype, only HomePage.html
and HomePage.properties modified
Reporter: Mikko Tiihonen
<wicket:enclosure child="id"> has changed in how it interprets nested elements.
Now elements on the same depth as the wanted child must be also explicitly
listed in the child attribute.
example based on the HelloPage.html of the archetype:
This worked in wicket 1.4.1:
<wicket:enclosure child="message">
<ud>
<li><wicket:message key="text">header</wicket:message></li>
<li wicket:id="message">message will be here</li>
</ud>
</wicket:enclosure>
In wicket 1.4.2 the following is needed instead:
<wicket:enclosure child="text:message">
<ud>
<li><wicket:message key="text">header</wicket:message></li>
<li wicket:id="message">message will be here</li>
</ud>
</wicket:enclosure>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.