• 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: Velocity Template & $fetchSpec.sharesObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Velocity Template & $fetchSpec.sharesObjects


  • Subject: Re: Velocity Template & $fetchSpec.sharesObjects
  • From: David Avendasora <email@hidden>
  • Date: Tue, 5 Oct 2010 08:10:51 -0400

Hi all,

I've had a fresh look at this this morning, and I can't see what I'm possibly doing wrong.

How do you call the $entity.hasSharedObjects and $fetchSpec.sharesObjects ?

Neither one is converted into it's Boolean value by the Velocity Engine.

Dave



On Oct 4, 2010, at 11:08 PM, David Avendasora wrote:

> Okay, I'm in the process of converting an old EOGenerator template to Velocity. One of the things it was checking is to see if the objects that a FetchSpec returns are "shared"
>
> According to the Velocity Generator Reference on the Wiki (http://wiki.objectstyle.org/confluence/display/WOL/Velocity+Generator+Reference) there is a $fetchSpec.sharesObjects, but when I EOGenerate, $fetchSpec.sharesObjects doesn't get turned into anything (true or false). It's just passed directly through into the class as "$fetchSpec.sharesObjects"
>
> Is this an obsolete call? I see in the org.objectstyle.wolips.eomodeler.core.model.EOFetchSpecification.java class that getSharesObjects() is a method.
>
> How do you tell which methods on the model classes are exposed to Velocity?
>
> Dave _______________________________________________
> 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: 
 >Velocity Template & $fetchSpec.sharesObjects (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Boolean expression parser
  • Next by Date: Re: ERRest and Plural Name for Entity
  • Previous by thread: Velocity Template & $fetchSpec.sharesObjects
  • Next by thread: Boolean expression parser
  • Index(es):
    • Date
    • Thread