ADF出现视图推送异常解决办法。

来源:互联网 发布:三维机械建模软件 编辑:程序博客网 时间:2024/05/16 15:12

比如在执行一个action时出现push视图错误,加上以下代码:

  public String doSomething()  {      // Push the current view root      FacesContext context = FacesContext.getCurrentInstance();      RequestContext.getCurrentInstance().getDialogService().         pushView(context.getViewRoot());    }      }


0 0