1,22 → 1,22 |
package ak.hostadmiral.core.taglib.list; |
|
import javax.servlet.jsp.JspException; |
|
public class NotCurrentPageTag |
extends IterateSubtagBase |
{ |
public int doStartTag() throws JspException |
{ |
findParent(); |
|
if(parent.getCollectionInfo().getCurrentPage() != parent.getDisplayPage()) |
return EVAL_BODY_INCLUDE; |
else |
return SKIP_BODY; |
} |
|
public int doEndTag() throws JspException |
{ |
return EVAL_PAGE; |
} |
} |
|
import javax.servlet.jsp.JspException; |
|
public class NotCurrentPageTag |
extends IterateSubtagBase |
{ |
public int doStartTag() throws JspException |
{ |
findParent(); |
|
if(parent.getCollectionInfo().getCurrentPage() != parent.getDisplayPage()) |
return EVAL_BODY_INCLUDE; |
else |
return SKIP_BODY; |
} |
|
public int doEndTag() throws JspException |
{ |
return EVAL_PAGE; |
} |
} |