Oracle JDeveloper 11.1.2.1
ADF Rich Components
ADF Business Components
To show af:popup programmatically in adf, you can add script in Managed Bean by ExtendedRenderKitService class.
ADF Rich Components
ADF Business Components
To show af:popup programmatically in adf, you can add script in Managed Bean by ExtendedRenderKitService class.
import javax.faces.context.FacesContext;
import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
import org.apache.myfaces.trinidad.util.Service;
public void showPopup (String popupId){
FacesContext context = FacesContext.getCurrentInstance();
ExtendedRenderKitService extendedRenderKitSrvc =
Service.getRenderKitService(context, ExtendedRenderKitService.class);
extendedRenderKitSrvc.addScript(context, "AdfPage.PAGE.findComponent('" + popupId + "').show();");
}