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

Examples of org.eurekastreams.web.client.ui.common.form.elements.BasicRadioButtonFormElement


        final GroupPrivacySettings radioButtonGroup = new GroupPrivacySettings("Privacy Settings",
                DomainGroupModelView.PRIVACY_KEY, "privacySettings", "");

        radioButtonGroup.clearGroup();
        radioButtonGroup.addRadioButton("Public", "Allow all users to view this profile.", "true", Boolean.TRUE);
        BasicRadioButtonFormElement privateButton = radioButtonGroup.addRadioButton("Private",
                "Restrict access to users approved by this group's coordinators.", "false", Boolean.FALSE);

        Panel extraInstructions = new FlowPanel();
        extraInstructions.addStyleName(StaticResourceBundle.INSTANCE.coreCss().groupPrivateExtraNote());
        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();
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.ui.common.form.elements.BasicRadioButtonFormElement

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.