On Tue, Jun 18, 2013 at 7:55 AM, Igor Vaynberg <igor.vaynb...@gmail.com> wrote: > some uis are prone to having a lot of these. eg when you hide a form > component you also want to hide some static help markup. without > enclosures this means having an extra container for each form > component with dynamic visibility.
I agree with Igor. We use EnclosureContainer for the complicated cases but using wicket:enclosure is really nice for simple things and we use it a lot. Would it be possible to emit warnings when using wicket:enclosure is buggy? I don't if it's possible to detect these cases. -- Guillaume