protected final BookMenuItem createEventMenuItem( String name, Page page, String nestedId, String eventType, boolean forForm, Object... context) { Link link = linkSource.createComponentEventLink(page, nestedId, eventType, forForm, context); return new BookMenuItem(name, link); }
protected final BookMenuItem createPageMenuItem( String name, String pageName, boolean override, Object... pageActivationContext) { Link link = linkSource.createPageRenderLink(pageName, override, pageActivationContext); return new BookMenuItem(name, link); }