this.viewContext = viewContext;
}
protected void populateItem(final ListItem item) {
try {
Topic topic = (Topic) item.getModelObject();
String title = topic.getName().toUpperCase();
Label topicNameLabel = new Label("topicName", title);
item.add(topicNameLabel);
ModelContext linkModelContext = new ModelContext(modelContext);
Links topicLinks = (Links) topic.getLinks();
Links approvedOrderedLinks = (Links) topicLinks.getApprovedLinks()
.getLinksOrderedByName();
linkModelContext.setEntities(approvedOrderedLinks);
ViewContext linkViewContext = new ViewContext(viewContext);
linkViewContext.setWicketId("linkListPanel");