Another velocity EOGen question

From: Fabian Peters (lists.fabia..-lumo.com)
Date: Sun Nov 18 2007 - 18:50:57 EST

  • Next message: Mike Schrag: "Re: initialLowercase in velocity templates?"

    Hi,

    Another construct I'm unable to transfer to the brave new world:

    > <$if
    > javaBeautifiedFetchSpecificationDictionaries..ortedNameArray.@count
    > > 0 $> // FetchSpec convenience methods<$endif$>
    > <$foreach FetchSpec
    > javaBeautifiedFetchSpecificationDictionaries..ortedNameArray do$>
    > public static NSArray fetch<$FetchSpec.niceName$>( EOEditingContext
    > ec<$foreach Binding FetchSpec.bindings do2$>, <$Binding.codeType$><

    I found

    > <wo:WORepetition list="[entity.classFetchSpecifications]"
    > item="[fetchSpecification]">

    in the Apple-supplied template, but

    > #foreach ($fetchSpec in $entity.classFetchSpecifications)
    > // test
    > #end

    does not generate any output even though there are fetch specs defined
    in the model?

    Is there any way yet to read up on what's available here?

    cheers, Fabian



    This archive was generated by hypermail 2.0.0 : Sun Nov 18 2007 - 18:52:00 EST