Package com.ponysdk.ui.server.form

Examples of com.ponysdk.ui.server.form.FormConfiguration


        super.onFirstShowPage();

        final PVerticalPanel layout = new PVerticalPanel();

        final FormView formView = new DefaultFormView();
        final FormConfiguration formConfiguration = new FormConfiguration();
        formConfiguration.setName("Form");
        final FormActivity formActivity = new FormActivity(formConfiguration, formView);

        final FormField field1 = new FormField("field1");
        formActivity.addFormField(field1);
        field1.addValidator(new NotEmptyFieldValidator());
View Full Code Here


    protected class SHowCustomColumnDescriptorFormHandlerImpl implements ShowCustomColumnDescriptorFormHandler {

        @Override
        public void onShowCustomColumnDescriptorForm(final ShowCustomColumnDescriptorFormEvent event) {
            final FormView formView = new DefaultFormView("AddCustomColumnDescriptorForm");
            final FormConfiguration formConfiguration = new FormConfiguration();
            formConfiguration.setName("Form");
            final AddCustomColumnDescriptorForm form = new AddCustomColumnDescriptorForm(formConfiguration, formView, complexListConfiguration.getClas(), ComplexListActivity.this);
            final PSimplePanel windowContent = new PSimplePanel();
            form.start(windowContent);
            PConfirmDialog.show("Add custom column", windowContent, "Ok", "Cancel", new PConfirmDialogHandler() {
View Full Code Here

            if (formLayout == null) {
                formLayout = new PVerticalPanel();
            }

            final FormView formView = new DefaultFormView("SearchForm", formLayout);
            final FormConfiguration formConfiguration = new FormConfiguration();
            formConfiguration.setName(complexListConfiguration.getTableName() + "filterForm");

            searchFormActivity = new FormActivity(formConfiguration, formView);
            searchFormActivity.start(complexListView.getFormLayout());
        }
    }
View Full Code Here

TOP

Related Classes of com.ponysdk.ui.server.form.FormConfiguration

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.