http://www.adftips.com/2010/10/adf-ui-adfutil-class-to-evaluate-set.html
BindingContainer bindings =
BindingContext.getCurrent().getCurrentBindingsEntry();
OperationBinding method =
(OperationBinding)bindings.getOperationBinding("ExecuteWithParams");
Map paramsMap = method.getParamsMap();
paramsMap.put("Key", "Value");
method.execute();
OperationBinding operationBinding =
ADFUtils.findOperation("Operation1");
operationBinding.getParamsMap().put("Key", "Value");
operationBinding.execute();
DCBindingContainer bindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding dcIteratorBindings =
bindings.findIteratorBinding("ExampleVOIterator");
ExampleVORowImpl row =
(ExampleVORowImpl) dcIteratorBindings.getCurrentRow();
DCIteratorBinding exVOIter =
ADFUtils.findIterator("ExampleVOIterator");
ExampleVORowImpl row =
(ExampleVORowImpl) dcIteratorBindings.getCurrentRow();
ExampleVOImpl exVO =
(ExampleVOImpl) ADFUtils.getViewObjectByIterator("ExampleVOIterator");
if (exVO.getRowCount() > 0) {
//
}
else{
//
}
JSFUtils:
String refId = JSFUtils.resolveRemoteUser();
RichInputText itcomponent =
(RichInputText)JSFUtils.findComponentInRoot("it10");
No comments:
Post a Comment