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

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

Introduction

In this page you can find the example usage for com.google.gwt.dom.client ButtonElement 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.ButtonWidgetFactory.java

License:Apache License

protected void copyAttributes(ButtonElement source, ButtonElement destination) {
    destination.setAccessKey(source.getAccessKey());
    destination.setDisabled(source.isDisabled());
    destination.setName(source.getName());
    destination.setValue(source.getValue());
}