Re: Velocity Template Question
Re: Velocity Template Question
- Subject: Re: Velocity Template Question
- From: Chuck Hill <email@hidden>
- Date: Thu, 19 Nov 2009 21:05:49 -0800
On Nov 19, 2009, at 8:52 PM, Andrew Lindesay wrote:
Hello;
In eo-gen templates, is it possible to do something like this;
#if ($entity.sortedClassAttributes.code)
#if ($entity.sortedClassAttributes().containsObject(code))
or
#if ($entity.sortedClassAttributes.containsObject(code))
should work.
Chuck
...
#end
Where the ... would be inserted if the "code" attribute were present
in the list of 'sortedClassAttributes'?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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