• 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 14:47:41 -0400

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

On Aug 11, 2009, at 2:25 PM, Sanford Selznick wrote:

Hi Mike,

Is there some reason WOLips is not validating my variable names? Do I have to turn that on somehow? (I think I have it on in preferences.)

It seems odd that it would validate text operators but not variable names. :-)

 That is:

 tag="~@com.me.bogus._Contact@BOGUS_NAME"  ...

 Is not underlined in red, even though it is incorrect.

Thanks,
 Sanford

At 2:17 PM -0400 8/11/09, Mike Schrag wrote:
text operators are "ne" "eq", etc .. it validates binding-style keypaths only right now. you want WOL-930

ms

On Aug 11, 2009, at 2:02 PM, Sanford Selznick wrote:

At 7:11 PM +0200 8/11/09, Johann Werner wrote:
Question 3: How do I get the syntax checker to work so I can get compile-time errors with this stuff?

Question 4: Auto completion would be cool here too. Can that be enabled somehow? :-)

Simple answer: it is not possible (yet). I reported that issue some time ago on Jira, so perhaps if you (and all others that are missing that feature too) vote for that feature we will see it some day implemented (http://issues.objectstyle.org/jira/browse/WOL-930 ).

Done. Thanks! :-)

I see WOL-660, "Support validation of OGNL text operators" as "Fixed". But I do not see validation in my WOLips. If I type an incorrect varname, it should be underlined in red, right?

Thanks,
Sanford
_______________________________________________
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

_______________________________________________ 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


  • Follow-Ups:
    • Re: inline bindings and ognl
      • From: Sanford Selznick <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>)

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