Package org.jbpm.formbuilder.client.menu

Examples of org.jbpm.formbuilder.client.menu.FormDataPopupPanel


        });
    }
   
    private void showSavePanel(final FormRepresentation form) {
        if (form.getName() == null || "".equals(form.getName())) {
            final FormDataPopupPanel panel = new FormDataPopupPanel(true);
            panel.setAction(form.getAction());
            panel.setEnctype(form.getEnctype());
            panel.setMethod(form.getMethod());
            panel.setName(form.getName());
            panel.setTaskId(form.getTaskId());
            panel.setModal(true);
            panel.setPopupPosition(
                    RootPanel.getBodyElement().getClientWidth() / 2 - 150,
                    RootPanel.getBodyElement().getClientHeight() / 2 - 150);
            panel.show();
            panel.addCloseHandler(new CloseHandler<PopupPanel>() {
                @Override
                public void onClose(CloseEvent<PopupPanel> event) {
                    saveForm(panel, form);
                }
            });
View Full Code Here

TOP

Related Classes of org.jbpm.formbuilder.client.menu.FormDataPopupPanel

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.