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(yourExpressionStr
Hi Dale,
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.
That¹s fantastic and exactly what I was looking for.
I¹ll try it this weekend.
Z.
>
> On Thu, Jul 29, 2010 at 10:07 PM, Dale Newfiel
On Thu, Jul 29, 2010 at 10:07 PM, Dale Newfield wrote:
> On 7/29/10 9:50 PM, Zoran Avtarovski wrote:
>>
>> What I want to know if there is a way for OGNL to evaluate the expression
>> represented by the string through recursion?
>
> I see no reason you can't get a reference to the ValueStack objec
On 7/29/10 9:50 PM, Zoran Avtarovski wrote:
What I want to know if there is a way for OGNL to evaluate the expression
represented by the string through recursion?
I see no reason you can't get a reference to the ValueStack object from
within OGNL and call the findValue() method to make that ha
I¹m trying to construct a conditional display mechanism for a web app, but I
need some help with the OGNL side of things.
My app will produce a string like ³object1.attribute == 25 && object2.
attribute > 5² and store it as a parameter in my action called condition.
What I want to know if there
5 matches
Mail list logo