Conditional Rendering: Revisited

January 14, 2008
In the previous post, I said that conditional rendering in Wicket is not straightforward. Turns out I was wrong. Starting at Wicket 1.3, there is an XHTML tag wicket:enclosure.Conditional rendering inWicket is much easier, because wicket:enclosure allows for scoped visibility. The premise is that all of the wicket components in it’s range can have it’s visibility attribute changed based on one of the components enclosed by wicket:enclosure tag.Click here for an example. Thank you Alex!

Tags:

Leave a Reply