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

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


        Label saveButton = new Label("");
        saveButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().saveChangesButton());

        body.add(new Label("Stream Name: " + featuredStreamDTO.getDisplayName()));

        final BasicTextAreaFormElement textArea = new BasicTextAreaFormElement(Person.MAX_JOB_DESCRIPTION_LENGTH,
                "Description", "description", featuredStreamDTO.getDescription(), "", true);

        body.add(textArea);
        body.add(saveButton);

        saveButton.addClickHandler(new ClickHandler()
        {
            public void onClick(final ClickEvent event)
            {
                featuredStreamDTO.setDescription(textArea.getValue());
                FeaturedStreamModel.getInstance().insert(featuredStreamDTO);
            }
        });

        EventBus.getInstance().addObserver(AddedFeaturedStreamResponseEvent.class,
View Full Code Here


    {
        coreCss = StaticResourceBundle.INSTANCE.coreCss();
        globalResources = StaticResourceBundle.INSTANCE;
        urlUi = new BasicTextBoxFormElement("http://", MAX_URL_LENGTH, false, "Notification Destination", null, "",
                null, false);
        messageUi = new BasicTextAreaFormElement(MAX_MESSAGE_LENGTH, null, null, "", null, true)
        {
            @Override
            protected void onTextChanges()
            {
                super.onTextChanges();
View Full Code Here

        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

                        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,
                                "Job Description", PersonModelView.DESCRIPTION_KEY, person.getJobDescription(),
                                "Enter a brief description of your job responsibilities.", false));
                        form.addFormDivider();

                        String skills = DomainFormatUtility.buildCapabilitiesStringFromStrings(person.getInterests());
View Full Code Here

        form.addFormElement(new BasicTextBoxFormElement(MAX_NAME, false, "Group Name", DomainGroupModelView.NAME_KEY,
                entity.getName(), "", true));
        form.addFormDivider();

        form.addFormElement(new BasicTextAreaFormElement(DomainGroup.MAX_DESCRIPTION_LENGTH, "Description",
                DomainGroupModelView.DESCRIPTION_KEY, entity.getDescription(),
                "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.", false));
View Full Code Here

TOP

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

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.