Inappropriate OGNL expression
Inappropriate OGNL expression
- Subject: Inappropriate OGNL expression
- From: Pascal Robert <email@hidden>
- Date: Mon, 12 Mar 2012 10:30:56 -0400
Hi list,
I was calling a method by OGNL inside a component to fetch an array inside a WORepetition, and it worked well. Now, I moved some code to a sub-component and I have to pass the array I get from the method to the component. So I did:
<wo:BuildManifest transactions="$~transactionsForSpec(revisionItem)" />
But I'm getting:
ognl.InappropriateExpressionException: Inappropriate OGNL expression: transactionsForSpec(revisionItem)
Funny thing is that it does work even if I'm getting this, the sub-component is called and the array have the right objects. So I'm curious of finding out why I'm getting this exception even if it works as expected.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden