even though wicket:enclosure doesnt work for every single situation out there it is still immensely useful because it works for 90% use cases out there. so -1 to deprecate. in fact, the reason we introduced it in the first place was because adding EnclosureContainer-like components in code was a pain.
-igor