#if(opportunityPage2.pageNumber!=1)
#if(opportunityPage2.pageNumber>1)
#else
#end
#end
#for(x1:opportunityPage2)
#if(x1.totalPage==1)
1
#elseif(x1.totalPage==2)
1
2
#elseif(x1.totalPage==3)
1
2
3
#else
1
2
3
...
#(opportunityPage2.totalPage)
#end
#end
#if(opportunityPage2.pageNumber<=(opportunityPage2.totalPage-1))
#else
#end