Tutorial by Examples

ValueExpression ve = AdfmfJavaUtilities.getValueExpression(<binding>, String.class); String <variable_name> = (String) ve.getValue(AdfmfJavaUtilities.getELContext()); Here "binding" indicates the EL expression from which the value is to be get. "variabl...
ValueExpression ve = AdfmfJavaUtilities.getValueExpression(<binding>, String.class); ve.setValue(AdfmfJavaUtilities.getELContext(), <value>); Here "binding" indicates the EL expression to which the value is to be stored. "value" is the desired val...
AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext(); MethodExpression me; me = AdfmfJavaUtilities.getMethodExpression(<binding>, Object.class, new Class[] { }); me.invoke(adfELContext, new Object[] { }); "binding" indicates the EL expression from wh...
AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureId(), <function>, new Object[] { }); "function" is the desired js function to be invoked

Page 1 of 1