Hello,

  I'm a little new.

I would like to access a "final static" string from a class from my wod in a tag, as in:

  tag="$com.me.product._Contact.ENTITY_NAME"

But this always results in a parsing error in WOLips: "There is no com in blah."

  Question 1: Is this supposed to work?

----------------------

  So a little bird told me this should work with ognl, so I tried:

  tag="[ognl: @com.me.product._cont...@entity_name]"

  This is not syntax checked but yields a runtime error:

"There is no model containing entity '[ognl: @com.me.product....' in the default model group"

  Question 2: What magic do I need to do in Eclipse/WOLips to make this parse?

----------------------

  I also tried:

tag="[email protected]._contact@ENTITY_NAME", which _is_ working. But I would _really_ like to have that syntax checked inside the wod, which is the whole point of using static strings like this.

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? :-)

----------------------

  Question 5: Is there a maximum number of questions per e-mail?  :-)

Thank you!
  Sanford
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to