Proposal: EnclosureGroup to hide surrounding markup depending on enclosure children

2015-01-16 Thread Thorsten Schöning
Hi all, I have a navigation, where each level consists of a headline to summarize all sub nav links and a list of those sub nav links. Pretty standard. I needed to implement two things: First the sub nav links itself should be hidden or visible during some configuration and such on runtime, e.g.

Re: Proposal: EnclosureGroup to hide surrounding markup depending on enclosure children

2015-01-16 Thread Martin Grigorov
Hi, I'd suggest you to take a look at EnclosureContainer. It is very simple component that is much more reliable than wicket:enclosure and div wicket:enclosure=. There are many known problems with wicket:enclosure (consult with JIRA about them) so I guess you will face issues with your custom

Re: Proposal: EnclosureGroup to hide surrounding markup depending on enclosure children

2015-01-16 Thread Thorsten Schöning
Guten Tag Martin Grigorov, am Freitag, 16. Januar 2015 um 14:45 schrieben Sie: I'd suggest you to take a look at EnclosureContainer. Hello, I had and from my understanding that would require me to add more boilerplate code to manually create such containers and I would still need to create