Wednesday, December 14, 2011

ADF ADFC-12001 ControllerException pop last entry from page flow scope stack

I was getting the following error in my logs when closing a popup (everything worked though) :

Caused by: oracle.adf.controller.ControllerException: ADFC-12001: The ADF Controller is attempting to pop last entry from page flow scope stack.

I had to call my popup page directley instead of using a task flow to a resolve this.

Launch popup button:

<af:commandLink text="#{viewBundle.ABOUT_HELPABOUT_TITLE}"
  id="pt_cl21" inlineStyle="color: white; white-space: nowrap; "
  action="dialog:helpAbout" useWindow="true" windowWidth="480" windowHeight="340"
  clientComponent="true" immediate="true" windowEmbedStyle="inlineDocument"

Entry in adfc config:

  <view id="helpAbout">
  <control-flow-rule id="__8">
    <control-flow-case id="__9">     

In my popup the clode button just calls this method :

  public String doClose() throws IOException {
    AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
    return null;

No comments:

Post a Comment