"title 5", "content 4"), new AccordionItem("title 6",
"content 5"));
public DynamicAccordionPage() {
AccordionWebMarkupContainer accordion = new AccordionWebMarkupContainer(
"accordion");
accordion.add(new ListView<AccordionItem>("repeater", items) {
private static final long serialVersionUID = 1L;
protected void populateItem(ListItem<AccordionItem> item) {
AccordionItem obj = item.getModelObject();
item.add(new Label("title", obj.title));