Here is what I figured out so far.
headerRow is a vector of ReportCell, not ReportRow. 

So for the headerRow I had to create a getHeaderRow method in my action
class.
        public Vector getHeaderRow(){
                Report report = getReport();
                return report.getHeaderRow();
        }

Then my jsp to display it looks like:
                        <s:iterator value="headerRow">
                                <th>
                                        <s:property value="value"/>
                                </th>
                        </s:iterator>


There was also a dataRows vector in Report.  Using my previous iterator
setup on dataRows worked as expected.

-Justin


newton.dave wrote:
> 
> --- Gary Affonso <[EMAIL PROTECTED]> wrote:
>> The debug tag is poorly documented, I think it
>> requires the dojo library.  Or something.  :-)
> 
> You can't tell me that
> http://struts.apache.org/2.x/docs/debug.html isn't the
> acme of documentation (I'll add something).
> 
> In any case, no, it doesn't require Dojo--it just
> drops a bunch of info into a hidden DIV and gives you
> a link to show it.
> 
> d.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Retrieving-values-from-the-valuestack-for-the-%3Cs%3Aiterator%3E-tag-tf4767834.html#a13655120
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to