I want to iterate over the dataColumns to get the "value" from each dataColumn.
I am trying to add S2 to an existing project. So the Vector code is old, circa 2001. Thanks for you help. newton.dave wrote: > > --- Justin Frost <[EMAIL PROTECTED]> wrote: >> private String value; >> >> public String getValue() { >> return value; >> } >> I want to use the <s:iterator> tag on "value". > > What? Do you mean you want to iterate over the rows in > the report? "value" is a string; nothing to iterate > over. > > report.headerRow will iterate over each item in the > headerRow Vector. (Consider naming it as a plural.) > > Then iterate over the dataColumns in each headerRow > item, and the value will be visible. > > Haven't seen a Vector for awhile. > > 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#a13647619 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]