You could have a collection/array of fields that needed to be
displayed. You would iterate on each record in the result set. For
each row, you would then iterate thru the collection of field names,
using the field name as a key to the record "bean". I'd do it
something like below, though there may
Konrad Billewicz wrote:
How would you handle it?
If the columns are all formatted the same (or even if they're not and
I'm feeling saucy) I might consider writing a custom tag that does the
entire report (maybe outputting XML for easy format changes? I dunno) or
iterating over a collection
592-6411 Ext. 3863
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Johnson, Kaerstin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 28, 2005 12:03 PM
To: Struts Users Mailing List
Subject: RE: Filtering bean properties
You could use JSTL if you'd like to check for whether y
You could use JSTL if you'd like to check for whether you should print
the column out - something like:
print my stuff here
Im not sure how to do it with just struts, someone else might know that.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewic
4 matches
Mail list logo