Hi,
I'm using Jdev 11.1.2.3.0
My use case is:
+ I have index.jsf: load list of regions (List<TaskFlowBindingAttributes>)
+ in an action of one region (For ex: A-flow.xml), i will add another region to the list of regions
addDynamicRegion("B-flow);
+ My requirement is: all codes after <<addDynamicRegion("B-flow); >> will be wait util the app finish adding B-flow.xml and get out of B-flow
+ this action is the same with : Call_Form Built-in of Oracle Forms
P/s: my addDynamicRegion is just simple :
public void addDynamicRegion(String flowId) {
RunForm runForm = (RunForm)JSFUtils.getManagedBeanValue("runForm");
TaskFlowBindingAttributes taskAtt = new TaskFlowBindingAttributes();
String flowName = flowId.replace("-", "_");
taskAtt.setId(flowName);
taskAtt.setTaskFlowId(new TaskFlowId("/WEB-INF/" + flowId + ".xml", flowId));
runForm.getTfBindingAtts().add(taskAtt);
UIComponent form = getFormComponent(FacesContext.getCurrentInstance().getViewRoot());
AdfFacesContext.getCurrentInstance().addPartialTarget(form);
}
Thank you very much