Re: Inappropriate OGNL expression
Re: Inappropriate OGNL expression
- Subject: Re: Inappropriate OGNL expression
- From: Simon <email@hidden>
- Date: Mon, 12 Mar 2012 21:00:35 +0000
should it not just be
<wo:BuildManifest transactions="~transactionsForSpec(revisionItem)" />
?
simon
On 12 March 2012 14:30, Pascal Robert <email@hidden> wrote:
> 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
_______________________________________________
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