Example usage for com.google.gwt.user.client Element setPropertyJSO

List of usage examples for com.google.gwt.user.client Element setPropertyJSO

Introduction

In this page you can find the example usage for com.google.gwt.user.client Element setPropertyJSO.

Prototype

@Override
    public void setPropertyJSO(String name, JavaScriptObject value) 

Source Link

Usage

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

License:Apache License

protected void populateActions(Element element) {
    for (Map.Entry<String, FBScript> entry : getEventActions().entrySet()) {
        if (entry.getValue() != null) {
            element.setPropertyJSO(entry.getKey(), toJsFunction(entry.getValue().getContent()));
        }/*from   w w w. ja v  a  2  s . co m*/
    }
}

From source file:org.jbpm.formapi.client.form.FBFormItem.java

License:Apache License

protected void populateActions(Element element) {
    for (Map.Entry<String, FBScript> entry : getEventActions().entrySet()) {
        element.setPropertyJSO(entry.getKey(), toJsFunction(entry.getValue().getContent()));
    }//from   ww w  . j a  v a  2 s .c  o m
}