Adf11g
Hello
I have a task flow in a region on a page - the region is named regionTrans.
The main page in the taskflow has a popUp in the jsp:root - the popUp is named popTrans
As I need to do a CreateInsert() before displaying the popUp I'm displaying the popUp using the following code :
public static void showPopup(String popupId) {
FacesContext context = getFacesContext();
ExtendedRenderKitService extRenderKitSrvc =
Service.getRenderKitService(context, ExtendedRenderKitService.class);
extRenderKitSrvc.addScript(context,
"AdfPage.PAGE.findComponent('" + popupId + "').show();");
}
In order to show the popUp in the region when the user clicks a button I have to use "regionTrans:0:popTrans" for the popupId.
"regionTrans:0:popTrans" was found be looking at the source of the generated page.
What I don't understand is what the "0" represents in the "regionTrans:0:popTrans"
Can anybody explain ?
Regards
Paul