Example usage for com.google.gwt.user.client.ui Hidden setID

List of usage examples for com.google.gwt.user.client.ui Hidden setID

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui Hidden setID.

Prototype

public void setID(String id) 

Source Link

Document

Sets the id of the hidden field.

Usage

From source file:org.jbpm.form.builder.ng.model.client.form.items.HiddenFormItem.java

License:Apache License

private void populate(Hidden hidden) {
    if (this.id != null) {
        hidden.setID(id);
    }/* w ww .  j a  v a  2s  . c  o  m*/
    if (this.name != null && !"".equals(this.name)) {
        hidden.setName(name);
    }
    if (this.value != null) {
        hidden.setValue(value);
    }
}