Package org.brixcms.web.nodepage.toolbar

Examples of org.brixcms.web.nodepage.toolbar.ToolbarBehavior


        this("");
    }

    public ResourceNotFoundPage(String name) {
        add(new Label("name", name));
        add(new ToolbarBehavior() {
            @Override
            protected String getCurrentWorkspaceId() {
                return ((BrixRequestCycleProcessor) getRequestCycle().getActiveRequestHandler()).getWorkspace();
            }
        });
View Full Code Here


        this("");
    }

    public ForbiddenPage(String name) {
        add(new Label("name", name));
        add(new ToolbarBehavior() {
            @Override
            protected String getCurrentWorkspaceId() {
                BrixRequestCycleProcessor processor = new BrixRequestCycleProcessor(Brix.get());
                return processor.getWorkspace();
            }
View Full Code Here

    }

    public PageRenderingPage(final IModel<BrixNode> node, BrixPageParameters pageParameters) {
        super(node, pageParameters);
        //  add(new TilePageRenderPanel("view", node, this));
        add(new ToolbarBehavior() {
            @Override
            protected String getCurrentWorkspaceId() {
                return node.getObject().getSession().getWorkspace().getName();
            }
        });
View Full Code Here

TOP

Related Classes of org.brixcms.web.nodepage.toolbar.ToolbarBehavior

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.