示例#1
0
 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);
 }
示例#2
0
 protected final BookMenuItem createPageMenuItem(
     String name, String pageName, boolean override, Object... pageActivationContext) {
   Link link = linkSource.createPageRenderLink(pageName, override, pageActivationContext);
   return new BookMenuItem(name, link);
 }