}
@Override
protected Panel getLayoutCenterComponent(String wicketId) {
List<IAccordionPane> accordionPanes = new ArrayList<IAccordionPane>();
accordionPanes.add(new IAccordionPane() {
public IModel<String> getPaneTitle() {
return new Model<String>("1");
}
public Component getPaneContents(String id) {
return new SliderPanel(id);
}
});
accordionPanes.add(new IAccordionPane() {
public IModel<String> getPaneTitle() {
return new Model<String>("2");
}