Brent Johnson wrote:
Sorry, this may be a stupid question, but I can't think up a way to do
this in a JXTemplate.

I've got an ArrayList I'm passing into a JXTemplate with
sendPageAndWait().  Let's say that it has a size of 8.  I want to
output a table with a fixed number of 3 columns.  So there would be
the first three items in the first row, 3 on the second, and the last
2 on the third.

Any pointers on how I can do this using jx:forEach or something similar?
you are better off creating a custom generator for that or you could just split up your data at controller level sending an array of arrays to jxtemplate.

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to