// collapsibles are panels that can be opened/closed
// all panels can be open at the same time
new GeneratedBinding(this).addBindingInterceptor(new BindingInterceptor() {
@Override
public Component createTable(final TableHtmlElement e) {
if (TablesAndPanelsConstants.asCollapsible.equals(e.getWicketId())) {
return new ModelCollapsibleList(e);
}
return super.createTable(e);
}
}).bind();