One of my major pain points here is not discussed yet. And that is
nested invisible components.
<a href="#" wicket:id="foo"><span wicket:id="bar"></span></a>
new Link("foo").add(new Label("bar")).setVisible(false)
...
onAjaxThing(target) {
bar.setVisible(true);
target.add(bar);
}
In both cases this is impossible, however, from what I get from this
discussion is that we want to make it magical that this is possible.
Either way, this is the next thing that comes up, right after ListView
and Repeaters...
And what do we do about components that are not visible because the
user is not authorized? Do we generate the tags or not?
The more I think about it, the more magic is needed, the less I like the idea.
Martijn
--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org