Examples of addFormElement()


Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

        extraInstructions.add(new InlineLabel("Please Note: "));
        extraInstructions.add(new InlineLabel(
                "This group's name and description will be visible whenever employees browse or search profiles."));
        privateButton.addToInstructions(extraInstructions);

        form.addFormElement(radioButtonGroup);

        form.addClear();

        form.addFormDivider();
        panel.add(form);
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

        {
            form.setSubmitButtonClass(StaticResourceBundle.INSTANCE.coreCss().formUpdateButton());
        }

        form.setOnCancelHistoryToken(Session.getInstance().generateUrl(new CreateUrlRequest(Page.GALLERY, urlParams)));
        form.addFormElement(new ValueOnlyFormElement("id", id));
        form.addWidget(new HTML("<em class='gallery-upload-note'><strong>Please Note:</strong><br />"
                + "When users add your tab from the gallery they will be making a copy of the tab. "
                + "Updates you make to the tab will not be reflected for users who have previously add it."));
        form.addFormDivider();
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

        form.addWidget(new HTML("<em class='gallery-upload-note'><strong>Please Note:</strong><br />"
                + "When users add your tab from the gallery they will be making a copy of the tab. "
                + "Updates you make to the tab will not be reflected for users who have previously add it."));
        form.addFormDivider();

        form.addFormElement(new BasicDropDownFormElement("Tabs", "tab", startPageTabsDropDownValues, "-1",
                tabDropDownInstructions, method == Method.INSERT));
        form.addFormDivider();

        form
                .addFormElement(new BasicDropDownFormElement("Category", "category", categories, defaultCategory, "",
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

        form.addFormElement(new BasicDropDownFormElement("Tabs", "tab", startPageTabsDropDownValues, "-1",
                tabDropDownInstructions, method == Method.INSERT));
        form.addFormDivider();

        form
                .addFormElement(new BasicDropDownFormElement("Category", "category", categories, defaultCategory, "",
                        true));

        form.addFormDivider();
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

                .addFormElement(new BasicDropDownFormElement("Category", "category", categories, defaultCategory, "",
                        true));

        form.addFormDivider();

        form.addFormElement(new BasicTextBoxFormElement("Description:", "description", defaultDescription, "", true));

        form.addFormDivider();

        galleryAddOrEditContainer.clear();
        galleryAddOrEditContainer.add(form);
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

                                                "Your profile has been updated.")));
                                        form.onSuccess();
                                    }
                                });

                        form.addFormElement(new ValueOnlyFormElement("accountId", person.getAccountId()));

                        form.addWidget(new AvatarUploadFormElement("Photo", "/eurekastreams/personavatarupload",
                                Session.getInstance().getActionProcessor(), new AvatarUploadStrategy<PersonModelView>(
                                        person, "resizePersonAvatar", EntityType.PERSON)));
                        form.addFormDivider();
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

                        form.addWidget(new AvatarUploadFormElement("Photo", "/eurekastreams/personavatarupload",
                                Session.getInstance().getActionProcessor(), new AvatarUploadStrategy<PersonModelView>(
                                        person, "resizePersonAvatar", EntityType.PERSON)));
                        form.addFormDivider();

                        form.addFormElement(new BasicTextBoxFormElement(MAX_LENGTH, false, "Title",
                                PersonModelView.TITILE_KEY, person.getTitle(),
                                "Your title will appear below your photo on the profile page", true));
                        form.addFormDivider();
                        form.addFormElement(new BasicTextBoxFormElement(MAX_LENGTH, false, "First Name",
                                PersonModelView.PREFERREDNAME_KEY, person.getPreferredName(),
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

        {
            form.setSubmitButtonClass(StaticResourceBundle.INSTANCE.coreCss().formUpdateButton());
        }

        form.setOnCancelHistoryToken(Session.getInstance().generateUrl(new CreateUrlRequest(Page.GALLERY, urlParams)));
        form.addFormElement(new ValueOnlyFormElement("id", id));
        form.addWidget(new HTML("<em class='gallery-upload-note'><strong>Please Note:</strong><br />"
                + "Please be sure your XML file includes the "
                + "<a href='http://docs.eurekastreams.org/Technical-Specification/1.1/Theme%20Format.html' "
                + "target='_blank'>required fields</a>. "
                + "You will not be able to upload the XML without the required fields."));
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

                        form.addFormElement(new BasicTextBoxFormElement(MAX_LENGTH, false, "Title",
                                PersonModelView.TITILE_KEY, person.getTitle(),
                                "Your title will appear below your photo on the profile page", true));
                        form.addFormDivider();
                        form.addFormElement(new BasicTextBoxFormElement(MAX_LENGTH, false, "First Name",
                                PersonModelView.PREFERREDNAME_KEY, person.getPreferredName(),
                                "Entering a display name will replace your first name anywhere your name "
                                        + "appears in the system", true));
                        form.addFormDivider();
                        form.addFormElement(new BasicTextAreaFormElement(Person.MAX_JOB_DESCRIPTION_LENGTH,
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.form.FormBuilder.addFormElement()

                + "<a href='http://docs.eurekastreams.org/Technical-Specification/1.1/Theme%20Format.html' "
                + "target='_blank'>required fields</a>. "
                + "You will not be able to upload the XML without the required fields."));
        form.addFormDivider();

        form
                .addFormElement(new BasicDropDownFormElement("Category", "category", categories, defaultCategory, "",
                        true));

        form.addFormDivider();
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.