Examples of addFormElement()


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

        form.addFormDivider();
        form.addFormElement(hideableSiteLabel);
        form.addFormDivider();
        form.addFormElement(hideableContentWarning);
        form.addFormDivider();
        form.addFormElement(hideablePluginWarning);
        form.addFormDivider();
        form.addFormElement(tosElement);
        form.addFormElement(promptInterval);
        form.addFormDivider();
View Full Code Here

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

        form.addFormDivider();
        form.addFormElement(hideableContentWarning);
        form.addFormDivider();
        form.addFormElement(hideablePluginWarning);
        form.addFormDivider();
        form.addFormElement(tosElement);
        form.addFormElement(promptInterval);
        form.addFormDivider();

        // Help Page
View Full Code Here

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

        form.addFormElement(hideableContentWarning);
        form.addFormDivider();
        form.addFormElement(hideablePluginWarning);
        form.addFormDivider();
        form.addFormElement(tosElement);
        form.addFormElement(promptInterval);
        form.addFormDivider();

        // Help Page

        form.addFormElement(new BasicTextBoxFormElement(MAX_GROUP_NAME, false, "Support Stream",
View Full Code Here

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

        form.addFormElement(promptInterval);
        form.addFormDivider();

        // Help Page

        form.addFormElement(new BasicTextBoxFormElement(MAX_GROUP_NAME, false, "Support Stream",
                "supportStreamGroupShortName", systemSettingValues.getSupportStreamGroupShortName(),
                "Enter the name of the stream you want to display on the help page", false));
        form.addFormDivider();

        form.addFormElement(activityExp);
View Full Code Here

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

        form.addFormElement(new BasicTextBoxFormElement(MAX_GROUP_NAME, false, "Support Stream",
                "supportStreamGroupShortName", systemSettingValues.getSupportStreamGroupShortName(),
                "Enter the name of the stream you want to display on the help page", false));
        form.addFormDivider();

        form.addFormElement(activityExp);
        form.addFormDivider();

        BasicCheckBoxFormElement groupCreationPolicy = new BasicCheckBoxFormElement("New Group Moderation",
                "allUsersCanCreateGroups", "Enable Moderation.",
                "By enabling moderation, system administrators will be required to review new group requests.  "
View Full Code Here

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

        // The key is true for "allowing group creation" and the checkbox displays "allowing moderation". Since
        // these are opposites, the value needs to be reversed when the form gets submitted.
        groupCreationPolicy.setReverseValue(true);

        form.addFormElement(groupCreationPolicy);
        form.addFormDivider();

        if (!tosElement.isChecked())
        {
            promptInterval.setVisible(false);
View Full Code Here

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

            }
        });

        final BasicTextBoxFormElement groupName = new BasicTextBoxFormElement(50, false, "Group Name",
                DomainGroupModelView.NAME_KEY, "", "", true);
        form.addFormElement(groupName);
        DeferredCommand.addCommand(new Command()
        {
            public void execute()
            {
                groupName.setFocus();
View Full Code Here

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

        ShortnameFormElement shortName = new ShortnameFormElement("Group Web Address",
                DomainGroupModelView.SHORT_NAME_KEY, "", "http://" + Window.Location.getHost() + "/groups/",
                "Please restrict your group's name in the web address "
                        + "to 20 lower case alpha numeric characters without spaces.", true);
        shortName.addStyleName(StaticResourceBundle.INSTANCE.coreCss().groupShortName());
        form.addFormElement(shortName);

        form.addFormDivider();

        form.addFormElement(new BasicTextAreaFormElement(DomainGroup.MAX_DESCRIPTION_LENGTH, "Description",
                DomainGroupModelView.DESCRIPTION_KEY, "",
View Full Code Here

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

        shortName.addStyleName(StaticResourceBundle.INSTANCE.coreCss().groupShortName());
        form.addFormElement(shortName);

        form.addFormDivider();

        form.addFormElement(new BasicTextAreaFormElement(DomainGroup.MAX_DESCRIPTION_LENGTH, "Description",
                DomainGroupModelView.DESCRIPTION_KEY, "",
                "Enter a few sentences that describe the purpose of your group's stream.  "
                        + "This description will appear beneath your avatar "
                        + "and in the profile search results pages.", true));
View Full Code Here

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

                + "and managing group access";
        PersonModelViewLookupFormElement personLookupFormElement = new PersonModelViewLookupFormElement(
                "Group Coordinators", "Add Coordinator", coordinstructions, DomainGroupModelView.COORDINATORS_KEY,
                new HashSet<PersonModelView>(), true);
        personLookupFormElement.addPerson(Session.getInstance().getCurrentPerson());
        form.addFormElement(personLookupFormElement);

        form.addFormDivider();

        /**
         * CheckBox for Form.
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.