• 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 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Velocity Template Question
      • From: Andrew Lindesay <email@hidden>
References: 
 >Velocity Template Question (From: Andrew Lindesay <email@hidden>)
 >Re: Velocity Template Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOWODC 2010 : official date and venue
  • Next by Date: Re: unsupported class version error
  • Previous by thread: Re: Velocity Template Question
  • Next by thread: Re: Velocity Template Question
  • Index(es):
    • Date
    • Thread