Package org.exoplatform.webui.core

Examples of org.exoplatform.webui.core.UIConfirmation.createEvent()


        @Override
        public void execute(Event<UIEditInlineWorkspace> event) throws Exception {
            UIEditInlineWorkspace uiEditInlineWorkspace = event.getSource();

            UIConfirmation uiConfirmation = uiEditInlineWorkspace.getChild(UIConfirmation.class);
            uiConfirmation.createEvent("Close", event.getExecutionPhase(), event.getRequestContext()).broadcast();

            UIPortalComposer uiPortalComposer = uiEditInlineWorkspace.getChild(UIPortalComposer.class);
            Event<UIComponent> abortEvent = uiPortalComposer.createEvent("Abort", event.getExecutionPhase(),
                    event.getRequestContext());
            abortEvent.broadcast();
View Full Code Here


        @Override
        public void execute(Event<UIEditInlineWorkspace> event) throws Exception {
            UIEditInlineWorkspace uiEditInlineWorkspace = event.getSource();
            UIConfirmation uiConfirmation = uiEditInlineWorkspace.getChild(UIConfirmation.class);
            uiConfirmation.createEvent("Close", event.getExecutionPhase(), event.getRequestContext()).broadcast();
        }
    }
}
View Full Code Here

        @Override
        public void execute(Event<UIEditInlineWorkspace> event) throws Exception {
            UIEditInlineWorkspace uiEditInlineWorkspace = event.getSource();

            UIConfirmation uiConfirmation = uiEditInlineWorkspace.getChild(UIConfirmation.class);
            uiConfirmation.createEvent("Close", event.getExecutionPhase(), event.getRequestContext()).broadcast();

            UIPortalComposer uiPortalComposer = uiEditInlineWorkspace.getChild(UIPortalComposer.class);
            Event<UIComponent> abortEvent = uiPortalComposer.createEvent("Abort", event.getExecutionPhase(),
                    event.getRequestContext());
            abortEvent.broadcast();
View Full Code Here

    public static class ConfirmFinishActionListener extends EventListener<UIEditInlineWorkspace> {
        @Override
        public void execute(Event<UIEditInlineWorkspace> event) throws Exception {
            UIConfirmation uiConfirmation = event.getSource().getChild(UIConfirmation.class);
            uiConfirmation.createEvent("Close", event.getExecutionPhase(), event.getRequestContext()).broadcast();

            UIPortalComposer uiPortalComposer = event.getSource().getChild(UIPortalComposer.class);
            if (uiPortalComposer.getId().equals(UIPortalComposer.UIPAGE_EDITOR)) {
                uiPortalComposer.savePage(event.getSource(), event);
            } else {
View Full Code Here

        @Override
        public void execute(Event<UIEditInlineWorkspace> event) throws Exception {
            UIEditInlineWorkspace uiEditInlineWorkspace = event.getSource();
            UIConfirmation uiConfirmation = uiEditInlineWorkspace.getChild(UIConfirmation.class);
            uiConfirmation.createEvent("Close", event.getExecutionPhase(), event.getRequestContext()).broadcast();
        }
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.