public class DataContextBinding extends DataClass
DataContext but in addition to fixed values,
ruleContext values can be specified by prefixing the
ruleContext path with $ruleScope. as shown below:
For example, in SmartGWT:
Record customerRecord = new Record();
customerRecord.setAttribute("customerNumber", "$ruleScope.customerGrid.values.customerNumber");
DataContext dataContext = new DataContext();
dataContext.addMapping("Customer", customerRecord);
When used within a Workflow SetScreenDataTask or AddScreenTask, any
applicable TaskInputExpression can be used as a value.
To use a literal value that starts with one of the expressions described above, prefix the leading dollar sign ($) with a backslash (\) (ex. "\$ruleScope.goes.here") to prevent the value from being resolved as an expression.
factoryCreated, factoryProperties| Constructor and Description |
|---|
DataContextBinding() |
DataContextBinding(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
static DataContextBinding |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic DataContextBinding()
public DataContextBinding(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DataContextBinding getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)