Relax wicket:enclosure warning suggesting the usage of EnclosureContainer
-------------------------------------------------------------------------
Key: WICKET-3856
URL: https://issues.apache.org/jira/browse/WICKET-3856
Project: Wicket
Issue Type: Improvement
Components: wicket-core
Reporter: Adriano dos Santos Fernandes
Sometime in 1.4, wicket:enclosure got some diagnostics warnings about
FormComponents and EnclosureContainer was added.
wicket:enclosure has two usages:
---------------
1) Hide some content based on its own child components, i.e.:
<wicket:enclosure child="x">
<div>
........
<input wicket:id="x" />
</div>
</wicket:enclosure>
2) Hide content based on non-child components, i.e.:
<wicket:enclosure child="x">
........
</wicket:enclosure>
<input wicket:id="x" />
---------------
It's safe to relax the warning for the case (1), when the only FormComponent
child is equal to the "wicket:enclosure child" attribute.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira