It looks like I need to use a PropertyAccessor and ognl.MapPropertyAccessor specifically. Are there any demos in how to use it, can one use it directly from the JSP?
On Tue, 2011-02-01 at 15:35 -0700, Ken McWilliams wrote: > Hello I have a list of properties from a POJO as found using > introspection. > > I want to iterate over a result set for each row, and iterate over a > list of property names for each cell in a table. > > Something like: > > <s:iterator value = "resultList"> > <tr> > <s:iterator value="propertyNames"> //I want propertyNames to be > evaluated and the result used as the value for the iterator, not simply > interpreted as a normal list. > <s:property/> > </s:iterator> > </tr> > </s:iterator> > > If there is no way to do this then I'll create a BeanMap out of every > record in the result set (list of POJO's returned via JPA). > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org