Search in sources :

Example 6 with BreadcrumbPageInstance

use of com.evolveum.midpoint.web.component.breadcrumbs.BreadcrumbPageInstance in project midpoint by Evolveum.

the class PageBase method createInstanceBreadcrumb.

protected void createInstanceBreadcrumb() {
    BreadcrumbPageInstance bc = new BreadcrumbPageInstance(new IModel<>() {

        private static final long serialVersionUID = 1L;

        @Override
        public String getObject() {
            return getPageTitleModel().getObject();
        }
    }, this);
    addBreadcrumb(bc);
}
Also used : PolyString(com.evolveum.midpoint.prism.polystring.PolyString) BreadcrumbPageInstance(com.evolveum.midpoint.web.component.breadcrumbs.BreadcrumbPageInstance)

Aggregations

BreadcrumbPageInstance (com.evolveum.midpoint.web.component.breadcrumbs.BreadcrumbPageInstance)6 Breadcrumb (com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb)5 BreadcrumbPageClass (com.evolveum.midpoint.web.component.breadcrumbs.BreadcrumbPageClass)2 WebPage (org.apache.wicket.markup.html.WebPage)2 PolyString (com.evolveum.midpoint.prism.polystring.PolyString)1 AjaxButton (com.evolveum.midpoint.web.component.AjaxButton)1 VisibleBehaviour (com.evolveum.midpoint.web.component.util.VisibleBehaviour)1 PageAdminObjectDetails (com.evolveum.midpoint.web.page.admin.PageAdminObjectDetails)1 AjaxRequestTarget (org.apache.wicket.ajax.AjaxRequestTarget)1