Re: dynamic ognl expr

2006-12-31 Thread andyhot
Check out some ognl docs for expression syntax, e.t.c. IIRC, you can do value="ognl:components.tableRows.tableRow[columnName]" And happy new year from greece as well ! Martin Strand wrote: > If you generate the expression dynamically, you can use an > ExpressionEvaluator: > > public Object get

Re: dynamic ognl expr

2006-12-31 Thread Martin Strand
If you generate the expression dynamically, you can use an ExpressionEvaluator: public Object getValue() { String expression = "components.tableRows.tableRow." + getColumnName(); return getExpressionEvaluator().read(getPage(), expression); } @InjectObject("service:tapestry.ognl.ExpressionE

Re: dynamic ognl expr

2006-12-31 Thread Daniel Tabuenca
.' + ognl:columnName)" -- View this message in context: http://www.nabble.com/dynamic-ognl-expr-tf2902234.html#a8108480 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-ma

dynamic ognl expr

2006-12-31 Thread ra
lumnName So I'd like to write sth like this: value="ognl:('components.tableRows.tableRow.' + ognl:columnName)" -- View this message in context: http://www.nabble.com/dynamic-ognl-expr-tf2902234.html#a8108480 Sent from the