Friday, May 31, 2013
Thursday, May 23, 2013
Error: Method bindings.taskIterator.currentRow.dataProvider.OUTCOME() not supported in BPM
Check if the task is assigned to a group or user. Owner should be specified for the task
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2266059
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2266059
Tuesday, May 21, 2013
ADF Task Flows based on Human Task Flows in adf application
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_designtf.htm#CACFCJFE
Data Controls generated from the imported human task flows can be used only on the jspx page. These Operations (or Outcomes) cannot be invoked from jsff page fragment but can be accessible from Task Flows as Operations
Data Controls generated from the imported human task flows can be used only on the jspx page. These Operations (or Outcomes) cannot be invoked from jsff page fragment but can be accessible from Task Flows as Operations
Monday, April 29, 2013
Open and Close Popup on pageload using javascript ADF
<f:view>
<af:document id="d1" title="Report">
<af:resource type="javascript">
function openPopup() {
var popup = AdfPage.PAGE.findComponentByAbsoluteId('p1');
popup.show();
var timeOutPeriod = 50 * 1000; // 50 sec
setTimeout(function closePopup(){popup.hide();}, timeOutPeriod);
}
</af:resource>
<af:clientListener type="load" method="openPopup"/>
<af:form id="f1">
<af:popup id="p1" contentDelivery="immediate">
<af:dialog id="d2" type="none" title="Report is currently being generated..."
closeIconVisible="false" clientComponent="true">
<af:panelGroupLayout id="pgl1" layout="vertical" halign="center">
<af:image source="/images/reportgen.JPG" id="i1"/>
<af:image source="/images/animbar.gif" id="i2"
inlineStyle="width:120px;"/>
<af:outputText value="... please wait" id="ot11"/>
</af:panelGroupLayout>
</af:dialog>
</af:popup>
</af:form>
</af:document>
</f:view>
alert("This is a test");
alert(popup); //this shows the id of the popup
if the below code doesn't work, you can find the right popId by displaying the popup id using alert command
var popup = AdfPage.PAGE.findComponentByAbsoluteId('p1');
Thursday, April 25, 2013
Using ADFUtils,JSFUtils class in ADF
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");
JBO-27022: Failed to load value at index
Try Removing the Attribute from View Object as well as from the query; then add back the attribute to VO attributes and query.
Subscribe to:
Posts (Atom)