Re: Dynamic property names

2009-05-11 Thread mitch gorman
Jon Pearson wrote: > Well, I didn't get any responses to this, but luckily I managed to > figure it out from the OGNL documentation > (http://www.opensymphony.com/ognl/html/LanguageGuide/basicExpressions.ht > ml): > > Under the 'Expression Evaluation' section, it describes how you can > write this:

RE: Dynamic property names

2009-05-08 Thread Martin Gainty
bject) where the acquired index Subject: RE: Dynamic property names > Date: Fri, 8 May 2009 09:24:09 -0400 > From: jon.pear...@sixnet.com > To: user@struts.apache.org > > Well, I didn't get any responses to this, but luckily I managed to > figure it out from th

RE: Dynamic property names

2009-05-08 Thread Jon Pearson
e property with that name from the object #object, you can retrieve it by writing "#variable(#object)". Hope this is useful to others! ~Jonathan > -Original Message- > From: Jon Pearson > Sent: Thursday, May 07, 2009 1:14 PM > To: Struts Users Mailing List > S

Dynamic property names

2009-05-07 Thread Jon Pearson
I am trying to build out a table of values. I would like the user to be able to choose which columns are visible, and to re-order them (not interactively, on a separate page). My initial method for implementing this looks something like: User preferences: property1 property2 ... And then somethin