Justin Frost wrote:
                        <s:iterator value="report.headerRow">
                                <s:iterator value="dataColumns">
                                <th>
                                        <s:property value="value"/>
                                </th>
                                </s:iterator>
                        </s:iterator>

Well, you're doing exactly (almost) what I suggested so obviously more digging needs to be done.

Here's where I'd start to dig:

1) Does the struts taglib iterator support Vectors? It should (if you're running this on a recent JVM), but it would be good to double-check.

Speaking of JVM's, what JVM are you running this on? Vector was updated at some point to support the standard Collection stuff but I don't know when that happened. I suppose if you're running under an old JVM, Vector might not be able to do what you hope it can do.

2) Are your OGNL references working the way you think?
Your first iterator refers to a property of the report object: report.headerRow.

Is that the right syntax? Should be, but you might also try report.getHeaderRow(). Perhaps some vagary of OGNL is tripping you up.

3) Does the OGNL stack have on it what you think it has on it? You can use either the DebuggingInterceptor or the debug tag to get behind-the-scenes info.

The debug tag is poorly documented, I think it requires the dojo library. Or something. :-)

You might be better off with the interceptor:

http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/debugging/DebuggingInterceptor.html

---

That's all I got. :-)

- Gary

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

Reply via email to