• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inappropriate OGNL expression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Inappropriate OGNL expression (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: D2W Exception Handling
  • Next by Date: Re: D2W Exception Handling
  • Previous by thread: Inappropriate OGNL expression
  • Next by thread: Re: D2W Exception Handling
  • Index(es):
    • Date
    • Thread