add(new HomePageMenuPanel("homePageMenuPanel", this));
ModelContext topicsModelContext = new ModelContext();
topicsModelContext.setDomainModel(app.getDomainModel());
Topics topics = (Topics) app.getEntry("Topics");
Topic modelAndWebTopic = (Topic) topics.getTopic(MODEL_AND_WEB);
if (modelAndWebTopic != null) {
Topics modelAndWebTopicSubtopics = (Topics) modelAndWebTopic
.getSubtopics();
topicsModelContext.setEntities(modelAndWebTopicSubtopics);
} else {
topicsModelContext.setEntities(topics);
}