Package org.brixcms.plugin.site.picker.reference

Examples of org.brixcms.plugin.site.picker.reference.ReferenceEditorConfiguration


    }

    private List<IGridColumn> newColumns() {
        List<IGridColumn> columns = new ArrayList<IGridColumn>();

        final ReferenceEditorConfiguration conf = new ReferenceEditorConfiguration();
        ManageMenuPanel panel = findParent(ManageMenuPanel.class);
        conf.setWorkspaceName(panel.getModelObject().getId());

        columns.add(new SubmitCancelColumn("submitCancel1", new ResourceModel("edit")));
        columns.add(new EditablePropertyTreeColumn(new ResourceModel("title"), "entry.title") {
            @Override
            protected boolean isClickToEdit() {
View Full Code Here


        });
        add(form);

        add(new ContainerFeedbackPanel("feedback", this));

        ReferenceEditorConfiguration conf = new ReferenceEditorConfiguration();

        conf.setDisplayFiles(true);
        conf.setWorkspaceName(folderNodeModel);

        IModel<Reference> model = buffer.forProperty("redirectReference");
        form.add(new ReferenceEditorPanel("redirectReference", model).setConfiguration(conf));
    }
View Full Code Here

TOP

Related Classes of org.brixcms.plugin.site.picker.reference.ReferenceEditorConfiguration

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.