sharedStyleManager.getProperties());
boolean pageHasNavigation = styleManager.showHomePageNavigation();
if (pageToShow != null) {
if (pageBook.hasPage(pageToShow.getId()))
// we are showing Home Page.
pageBook.showPage(pageToShow.getId());
else {
if (pageHasNavigation) {
// page or Home Page with a page layout and navigation, set
// the page id to the static PageFormWithNavigation id.
// first create the correct content.