[jboss-user] [JBoss Seam] - Is it a bug?

chicochen do-not-reply at jboss.com
Thu Mar 8 21:01:34 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026501#4026501

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026501



More information about the jboss-user mailing list