public class MenuUtils extends Object
| Constructor and Description |
|---|
MenuUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.wicket.markup.html.link.BookmarkablePageLink<String> |
createBookmarkablePageLink(String linkId,
Class<? extends org.apache.wicket.Page> pageClass,
String labelId,
String resourceModelKey,
org.apache.wicket.Component component)
Creates the bookmarkable page link.
|
static MenuItem |
createMenuItem(Class<? extends org.apache.wicket.Page> pageClass,
String resourceModelKey,
org.apache.wicket.Component component)
Creates the menu item.
|
static MenuItem |
createMenuItem(Class<? extends org.apache.wicket.Page> pageClass,
String resourceModelKey,
org.apache.wicket.Component component,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Creates the menu item.
|
static MenuItem |
createMenuItem(org.apache.wicket.model.StringResourceModel stringResourceModel)
Creates the menu item.
|
public static org.apache.wicket.markup.html.link.BookmarkablePageLink<String> createBookmarkablePageLink(String linkId, Class<? extends org.apache.wicket.Page> pageClass, String labelId, String resourceModelKey, org.apache.wicket.Component component)
linkId - the link idpageClass - the page classlabelId - the label idresourceModelKey - the resource model keycomponent - the componentpublic static MenuItem createMenuItem(Class<? extends org.apache.wicket.Page> pageClass, String resourceModelKey, org.apache.wicket.Component component, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
pageClass - the page classresourceModelKey - the resource model keycomponent - the componentparameters - the PageParameterspublic static MenuItem createMenuItem(org.apache.wicket.model.StringResourceModel stringResourceModel)
stringResourceModel - the string resource modelpublic static MenuItem createMenuItem(Class<? extends org.apache.wicket.Page> pageClass, String resourceModelKey, org.apache.wicket.Component component)
pageClass - the page classresourceModelKey - the resource model keycomponent - the componentCopyright © 2010–2015. All rights reserved.