Re: problem with page devision in webwork 2.2.2
Philip Luppens <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <19610251.1165311659602.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Sure .. try this:
[code]
pageNumber = <ww:property value="#pageNumber"/>
<ww:iterator value="new int[#pageNumber]">
[<ww:property value="top + 1"/>]
</ww:iterator>
[/code]
PS. You might wanna check out the ww:component tag to make a reusable component out of this.
PS2. Maybe I should contribute that component .. would it be useful to throw it into a tag ?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52153&messageID=105264#105264
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]