/* ********************** 导航 ********************** */
//first page |<
if (iRequestPage > 1) {
buffer.append(
"\t<a href=\"#\" οnclick=\""
+ onClickJS_firstPage
+ "\">"+RequestUtils.message(super.pageContext, "application", null, "air.first.page")+" </a>| \n");
} else {
buffer.append("\t"+RequestUtils.message(super.pageContext, "application", null, "air.first.page")+" | \n ");
}
//pre page <
if (iRequestPage > 1) //当前页大于1时才显示“上一页”。
{
buffer.append(
"\t<a href=\"#\" οnclick=\""
+ onClickJS_prePage
+ "\">"+RequestUtils.message(super.pageContext, "application", null, "air.page.previous.page")+" </a>| \n");
} else {
buffer.append("\t"+RequestUtils.message(super.pageContext, "application", null, "air.page.previous.page")+" | \n");
}
//next page >
if (iRequestPage < iTotalPage) //当前页小于总页数时才显示“下一页”。
{
buffer.append(
"\t<a href=\"#\" οnclick=\""
+ onClickJS_nextPage
+ "\">"+RequestUtils.message(super.pageContext, "application", null, "air.page.next.page")+" </a>| \n");
} else {
buffer.append("\t"+RequestUtils.message(super.pageContext, "application", null, "air.page.next.page")+" | \n");
}
//last page >|
if (iRequestPage < iTotalPage) {
buffer.append(
"\t<a href=\"#\" οnclick=\""
+ onClickJS_lastPage
+ "\">"+RequestUtils.message(super.pageContext, "application", null, "air.page.last.page")+"</a> \n");
}else{
buffer.append(
"\t"+RequestUtils.message(super.pageContext, "application", null, "air.page.last.page")+" \n");
}