1 2 Previous Next 17 Replies Latest reply: Feb 25, 2013 8:05 AM by user11969566 RSS

    java.lang.IllegalStateException: popView(): No view has been pushed.

    user11969566
      Hi

      I have migrated my ADF 10g application to 11g using steps given in oracle documentation. Migration went well seemlessly however when i am trying to run the application all my dialogs are are displayed in same window and on returnlistener of the dialogs are giving me java.lang.IllegalStateException: popView(): No view has been pushed.. what could be the reason.

      Jdeveloper version used - 11g release 2.
      Deployment on - WLC 10.3.5

      code written on return listener

      OperationBinding
      opr=bindings.getOperationBinding("setCurrentRowWithKey");
      opr.execute();
      //RequestContext.getCurrentInstance().returnFromDialog(this,null);
      afContext.getCurrentInstance().returnFromDialog(this, null);

      code of button migrated by 11g

      <tr:commandButton text="Modify" action="#{HrLeaveMstAddEdit_Backing.modifyButtonAction}"
      disabled="#{HrLeaveMstAddEdit_Backing.mpMode !=null || Managed_MpRights.v_rightmod}"
      accessKey="M" useWindow="true"
      returnListener="#{HrLeaveMstAddEdit_Backing.returnForModifyDeleteLOV}"
      partialSubmit="true" windowHeight="350"/>

      here action invokes "dialog:back" from faces-config file. But still window is not opened as dialog.

      Regards

      Amit
        1 2 Previous Next