Package org.eurekastreams.web.client.ui.common.form

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


                                    "<span class='gallery-upload-note'><strong>Please Note:</strong><br />"
                                            + "Please be sure your XML file includes the required fields.<br />"
                                            + " You will not be able to upload the XML without the required"
                                            + " fields.</span>");
                            infoMessage.addStyleName(StaticResourceBundle.INSTANCE.coreCss().addPluginInfoMessage());
                            form.addWidget(infoMessage);
                            form.addFormDivider();

                            List<String> categories = new LinkedList<String>();
                            categories.add("Internet Services");
                            form.addFormElement(new BasicDropDownFormElement("Category", "category", categories,
View Full Code Here


        sendEmails.add(membershipRefreshButton);
        form.addFormElement(sendEmails);

        form.addFormDivider();
        form.addWidget(new SendNotificationWidget());
        form.addFormDivider();
        form.addFormElement(hideableSiteLabel);
        form.addFormDivider();
        form.addFormElement(hideableContentWarning);
        form.addFormDivider();
View Full Code Here

            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();

        form.addFormElement(new BasicDropDownFormElement("Tabs", "tab", startPageTabsDropDownValues, "-1",
View Full Code Here

                                    }
                                });

                        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();

                        form.addFormElement(new BasicTextBoxFormElement(MAX_LENGTH, false, "Title",
View Full Code Here

            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."));
        form.addFormDivider();
View Full Code Here

            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 required fields. You will not be able to upload the XML "
                + "without the required fields."));
        form.addFormDivider();

        form
View Full Code Here

        AvatarUploadFormElement avatarFormEl = new AvatarUploadFormElement("Avatar",
                "Select a JPG, PNG or GIF image from your computer. The maxium file size is 4MB",
                "/eurekastreams/groupavatarupload?groupName=" + entity.getShortName(), Session.getInstance()
                        .getActionProcessor(), new AvatarUploadStrategy<DomainGroupModelView>(entity,
                        "resizeGroupAvatar", EntityType.GROUP));
        form.addWidget(avatarFormEl);

        form.addFormDivider();

        form.addFormElement(new BasicTextBoxFormElement(MAX_NAME, false, "Group Name", DomainGroupModelView.NAME_KEY,
                entity.getName(), "", true));
View Full Code Here

        final FlowPanel currentPrivacySettingPanel = new FlowPanel();
        currentPrivacySettingPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formElement());
        currentPrivacySettingPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().privacySettings());
        currentPrivacySettingPanel.add(currentPrivacySettingLabel);
        currentPrivacySettingPanel.add(currentPrivacySettingDescription);
        form.addWidget(currentPrivacySettingPanel);

        if (!entity.isPublic())
        {
            final HTML privateNote = new HTML("<span class=\"form-static-value\">Please Note:</span> "
                    + "This group's name and description will be visible whenever employees browse or"
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.