Package org.apache.click.extras.control

Examples of org.apache.click.extras.control.PageSubmit


        expiryField.setSize(4);
        expiryField.setMaxLength(4);
        paymentFieldSet.add(expiryField);

        form.add(new Submit("ok", "  OK  ",  this, "onOkClick"));
        form.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here


        descField2 = new TextField("description2", "File Description 2", 30);
        descField2.setRequired(true);
        fieldSet2.add(descField2);

        form.add(new Submit("ok", "  OK  ", this, "onOkClick"));
        form.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here

        // Separator without a "legend": much like a HR element but with a consistent style with the other separators.
        FieldSeparator separator = new FieldSeparator("separator","");
        newForm.add(separator);

        newForm.add(new Submit("ok", "  OK  ",  this, "onOkClick1"));
        newForm.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here

        feedbackFieldSet.add(comment);

        Checkbox inform = new Checkbox("inform", "Yes, I agree!");
        feedbackFieldSet.add(inform);
        classicForm.add(new Submit("ok", "  OK  ",  this, "onOkClick2"));
        classicForm.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here

        sortableCheckList.setSortable(true);
        sortableCheckList.setStyle("width", "100%;");
        form.add(sortableCheckList);

        form.add(new Submit("ok", "  OK  ",  this, "onOkClick"));
        form.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here

        dateJoinedField = new DateField("dateJoined");
        fieldSet.add(dateJoinedField);

        form.add(new Submit("ok", "  OK  ", this, "onOkClick"));

        Submit cancel = new PageSubmit("cancel", HomePage.class);
        cancel.setCancelJavaScriptValidation(true);
        form.add(cancel);

        addControl(form);

        // Setup control form
View Full Code Here

        fieldset.add(new IntegerField("expiry"));

        form.add(fieldset);

        Submit ok = new Submit("ok", "OK");
        Submit cancel = new PageSubmit("cancel", ContactDetailsPage.class);

        form.add(ok);
        form.add(cancel);

        addControl(form);
View Full Code Here

        form.add(new TelephoneField("telephoneField"));
        form.add(new VirtualKeyboard("keyboardField"));
        form.add(new CountrySelect("countrySelect"));

        form.add(new Submit("save"));
        form.add(new PageSubmit("cancel", HomePage.class));

        // Settings Form
        FieldSet fieldSet = new FieldSet("options", "Form Options");
        allFieldsRequired.setAttribute("onclick", "form.submit();");
        fieldSet.add(allFieldsRequired);
View Full Code Here

        urlField.setRequired(true);
        urlField.setTitle("URL address, e.g. 'http://www.google.com'");
        form.add(urlField);

        form.add(new Submit("ok", "  OK  "));
        form.add(new PageSubmit("cancel", HomePage.class));
    }
View Full Code Here

TOP

Related Classes of org.apache.click.extras.control.PageSubmit

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.