Package org.apache.syncope.console.pages.panels

Examples of org.apache.syncope.console.pages.panels.RoleSummaryPanel


        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        add(treePanel);

        final RoleSummaryPanel summaryPanel = new RoleSummaryPanel("summaryPanel", editRoleWin,
                Roles.this.getPageReference());
        add(summaryPanel);

        editRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {
                final RoleSummaryPanel summaryPanel = (RoleSummaryPanel) get("summaryPanel");

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target,
                        summaryPanel == null || summaryPanel.getSelectedNode() == null
                        ? 0
                        : summaryPanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);
               
                if (modalResult) {
                    getSession().info(getString("operation_succeeded"));
View Full Code Here


        super.onEvent(event);

        if (event.getPayload() instanceof TreeNodeClickUpdate) {
            final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload();

            final RoleSummaryPanel summaryPanel = new RoleSummaryPanel("summaryPanel", editRoleWin,
                    Roles.this.getPageReference(), update.getSelectedNodeId());

            addOrReplace(summaryPanel);
            update.getTarget().add(this);
        }
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        container.add(treePanel);

        final RoleSummaryPanel nodePanel = new RoleSummaryPanel("summaryPanel", createRoleWin, Roles.this
                .getPageReference());

        nodePanel.setOutputMarkupId(true);

        container.add(nodePanel);

        createRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target, nodePanel.getSelectedNode() == null
                        ? 0
                        : nodePanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);
                target.add(container);
                if (modalResult) {
                    getSession().info(getString("operation_succeded"));
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        add(treePanel);

        final RoleSummaryPanel summaryPanel = new RoleSummaryPanel.Builder("summaryPanel")
                .window(editRoleWin).callerPageRef(Roles.this.getPageReference()).build();
        add(summaryPanel);

        editRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {
                final RoleSummaryPanel summaryPanel = (RoleSummaryPanel) get("summaryPanel");

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target,
                        summaryPanel == null || summaryPanel.getSelectedNode() == null
                        ? 0
                        : summaryPanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);

                if (modalResult) {
                    getSession().info(getString(Constants.OPERATION_SUCCEEDED));
View Full Code Here

        super.onEvent(event);

        if (event.getPayload() instanceof TreeNodeClickUpdate) {
            final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload();

            final RoleSummaryPanel summaryPanel = new RoleSummaryPanel.Builder("summaryPanel")
                    .window(editRoleWin).callerPageRef(Roles.this.getPageReference())
                    .selectedNodeId(update.getSelectedNodeId()).build();

            addOrReplace(summaryPanel);
            update.getTarget().add(this);
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        add(treePanel);

        final RoleSummaryPanel summaryPanel = new RoleSummaryPanel.Builder("summaryPanel")
                .window(editRoleWin).callerPageRef(Roles.this.getPageReference()).build();
        add(summaryPanel);

        editRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {
                final RoleSummaryPanel summaryPanel = (RoleSummaryPanel) get("summaryPanel");

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target,
                        summaryPanel == null || summaryPanel.getSelectedNode() == null
                        ? 0
                        : summaryPanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);

                if (modalResult) {
                    getSession().info(getString(Constants.OPERATION_SUCCEEDED));
View Full Code Here

        super.onEvent(event);

        if (event.getPayload() instanceof TreeNodeClickUpdate) {
            final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload();

            final RoleSummaryPanel summaryPanel = new RoleSummaryPanel.Builder("summaryPanel")
                    .window(editRoleWin).callerPageRef(Roles.this.getPageReference())
                    .selectedNodeId(update.getSelectedNodeId()).build();

            addOrReplace(summaryPanel);
            update.getTarget().add(this);
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        add(treePanel);

        final RoleSummaryPanel summaryPanel =
                new RoleSummaryPanel("summaryPanel", createRoleWin, Roles.this.getPageReference());

        summaryPanel.setOutputMarkupId(true);

        add(summaryPanel);

        createRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {

                final TreeNodeUpdateEvent data = new TreeNodeUpdateEvent(target, summaryPanel.getSelectedNode() == null
                        ? 0
                        : summaryPanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);

                if (modalResult) {
                    getSession().info(getString("operation_succeded"));
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        container.add(treePanel);

        final RoleSummaryPanel nodePanel = new RoleSummaryPanel("summaryPanel", createRoleWin, Roles.this
                .getPageReference());

        nodePanel.setOutputMarkupId(true);

        container.add(nodePanel);

        createRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target, nodePanel.getSelectedNode() == null
                        ? 0
                        : nodePanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);
                target.add(container);
                if (modalResult) {
                    getSession().info(getString("operation_succeded"));
View Full Code Here

        final TreeRolePanel treePanel = new TreeRolePanel("treePanel");
        treePanel.setOutputMarkupId(true);
        roleTabsContainer.add(treePanel);

        final RoleSummaryPanel summaryPanel = new RoleSummaryPanel.Builder("summaryPanel")
                .window(editRoleWin).callerPageRef(Roles.this.getPageReference()).build();
        roleTabsContainer.add(summaryPanel);

        editRoleWin.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {
                final RoleSummaryPanel summaryPanel = (RoleSummaryPanel) roleTabsContainer.get("summaryPanel");

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target,
                        summaryPanel == null || summaryPanel.getSelectedNode() == null
                        ? 0
                        : summaryPanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);

                if (modalResult) {
                    getSession().info(getString(Constants.OPERATION_SUCCEEDED));
View Full Code Here

TOP

Related Classes of org.apache.syncope.console.pages.panels.RoleSummaryPanel

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.