Example usage for com.google.gwt.dom.client TextAreaElement setName

List of usage examples for com.google.gwt.dom.client TextAreaElement setName

Introduction

In this page you can find the example usage for com.google.gwt.dom.client TextAreaElement setName.

Prototype

public void setName(String name) 

Source Link

Document

Form control or object name when submitted with a form.

Usage

From source file:com.cgxlib.xq.client.plugins.widgets.TextAreaWidgetFactory.java

License:Apache License

@Override
protected void copyAttributes(Element src, Element dest) {
    TextAreaElement source = src.cast();
    TextAreaElement destination = dest.cast();

    destination.setAccessKey(source.getAccessKey());
    destination.setCols(source.getCols());
    destination.setDefaultValue(source.getDefaultValue());
    destination.setDisabled(source.isDisabled());
    destination.setName(source.getName());
    destination.setReadOnly(source.isReadOnly());
    destination.setRows(source.getRows());
    destination.setValue(source.getValue());
}

From source file:org.jbpm.form.builder.ng.model.common.panels.RichTextEditor.java

License:Apache License

public void setName(String name) {
    TextAreaElement element = getTextAreaElement(getElement());
    if (element == null) {
        GWT.log("Couldn't find internal text area for RichTextEditor");
    } else {/* w  ww.j  a v  a 2  s. c om*/
        element.setName(name);
    }
}