• 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: inline bindings and ognl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inline bindings and ognl


  • Subject: Re: inline bindings and ognl
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 11 Aug 2009 18:12:02 -0400

WOL-930 _is_ the ticket: http://issues.objectstyle.org/jira/browse/WOL-930

On Aug 11, 2009, at 5:12 PM, Sanford Selznick wrote:

Hi Mike,

 Thank you for the insight.  :-)

ognl looks very powerful. Features like looking at statics could help simplify a lot of programs. Since ognl is able to process statements like these, it would be great to get errors on the compile-time side of the fence.

Is there a ticket open for this, do you know? I didn't see one up on Jira.

Thanks,
 Sanford

At 2:47 PM -0400 8/11/09, Mike Schrag wrote:
Yes, a very simple reason -- what you're doing is not supported. What you're describing is requested in WOL-930. you're using a static variable, not a normal binding. If you were using a regular keypath (tag = ~person.firstName + ' ' + person.lastName) it would validate. If you find it odd, you're welcome to submit a patch to remove this oddity. One man's oddity is another mans bitchy manually-parsed ognl binding. I haven't done anything more with ognl validation because the proper way to do anything more is to link to ognl in the plugin and actually walk the parse tree.

ms
_______________________________________________
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: 
 >inline bindings and ognl (From: Sanford Selznick <email@hidden>)
 >Re: inline bindings and ognl (From: Johann Werner <email@hidden>)
 >Re: inline bindings and ognl (From: Sanford Selznick <email@hidden>)
 >Re: inline bindings and ognl (From: Mike Schrag <email@hidden>)
 >Re: inline bindings and ognl (From: Sanford Selznick <email@hidden>)
 >Re: inline bindings and ognl (From: Mike Schrag <email@hidden>)
 >Re: inline bindings and ognl (From: Sanford Selznick <email@hidden>)

  • Prev by Date: Re: inline bindings and ognl
  • Next by Date: Re: Connect Directory Services : invalid credentials
  • Previous by thread: Re: inline bindings and ognl
  • Next by thread: Ant Build Error
  • Index(es):
    • Date
    • Thread