Re: Velocity Template Question
Re: Velocity Template Question
- Subject: Re: Velocity Template Question
- From: Mike Schrag <email@hidden>
- Date: Fri, 20 Nov 2009 07:53:19 -0500
>>> #if ($entity.sortedClassAttributes.code)
>
>>> #if ($entity.sortedClassAttributes().containsObject(code))
>
> or
>
>>> #if ($entity.sortedClassAttributes.containsObject(code))
and "contains" -- it's a List (maybe a Set). and you would have to have looked up the attribute "code" already, obviously.
ms
_______________________________________________
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