2 Replies Latest reply on Mar 8, 2007 11:09 PM by Chico Chen

    Is it a bug?

    Chico Chen Newbie

      ProjectQueryActionImpl call it's super -"BaseQueryActionImpl" method "resetQueryInBase(projectQueryCriteria)",

      So in BaseQueryActionImpl.java below method,
      parameter "BaseQueryCriteria" is a "ProjectQueryCriteria" instance:

      public void resetQueryInBase(BaseQueryCriteria queryCriteria) {
       //....
       queryCriteria.setCurPage(1);
       //...A
       }


      BaseQueryCriteria.java
      public void setCurPage(int curPage) {
       // B
       this.curPage = curPage;
       }


      The question is in place B, setCurPage successfully,
      but debug in A place, the curPage still is default "0".

      Thanks