use of com.willshex.blogwt.client.part.SectionPart in project blogwt by billy1380.
the class PageDetailPage method show.
private void show(Page page) {
pnlContent.clear();
SectionPart section;
for (Post post : page.posts) {
section = new SectionPart();
section.setContent(page.slug, post);
pnlContent.add(section);
}
lnkEditPage.setTargetHistoryToken(PageType.EditPagePageType.asTargetHistoryToken(page.slug));
pnlLoading.setVisible(false);
FooterPart.get().scrollToTop();
refreshTitle();
}
Aggregations