On 7/29/10 11:23 PM, Zoran Avtarovski wrote:
This sounds too easy, so I just want to clarify. From my action if I call findValue(myExpressionString) and it will use OGNL to evaluate the expression.
Yes. To be more specific, ActionContext.getContext().getValueStack().findValue(yourExpressionString) Depending on what you're looking for, findString() might be helpful, too. http://struts.apache.org/2.1.8.1/struts2-core/apidocs/com/opensymphony/xwork2/util/ValueStack.html
That¹s fantastic and exactly what I was looking for. I¹ll try it this weekend.
Good luck! -Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org