Re: problem with page devision in webwork 2.2.2

khanhluong <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <2176050.1165309016250.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
yes, I can get the pageSize value and show on Search form. But I can't get it to calculate as 
pageNumber = (recordCount % pageSize == 0) ? (recordCount / pageSize) : ((recordCount / pageSize ) + 1);
then I list the page number from 1 to pageNumber
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52153&messageID=105256#105256

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.