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 protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com > > This email sent to [email protected] > > _______________________________________________ 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]
