• 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
Inappropriate OGNL expression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Inappropriate OGNL expression
      • From: Simon <email@hidden>
  • Prev by Date: Re: git error on a pull
  • Next by Date: Re: git error on a pull
  • Previous by thread: Re: git error on a pull
  • Next by thread: Re: Inappropriate OGNL expression
  • Index(es):
    • Date
    • Thread