I'm probably not alone in having less than spectacular recall for tapestry 
stiff so I don't know how to translate your T4 objects to T5. Can you describe 
what you are trying to do? 

-- Josh

On Aug 22, 2010, at 4:56 PM, Patrick Moore <patmo...@amplafi.com> wrote:

> Hi there --
> 
> In T4, we have an implementation of
> org.apache.tapestry.engine.ITemplateSourceDelegate that we use to generate
> certain component templates.
> 
> The T4 hivemind configuration looked like:
> 
>    <implementation service-id="tapestry.parse.TemplateSourceDelegate">
>        <invoke-factory>
>            <construct
> class="org.amplafi.flow.web.resolvers.FlowAwareTemplateSourceDelegate">
>            </construct>
>        </invoke-factory>
>    </implementation>
> 
> Additionally, we had replacements for the "
> tapestry.page.ComponentSpecificationResolver" service, which extends
> org.apache.tapestry.resolver.ComponentSpecificationResolver
> 
>    <implementation
> service-id="tapestry.page.ComponentSpecificationResolver">
>        Locates the specification for a component or page.
>        <invoke-factory model="threaded">
>            <construct
> class="org.amplafi.flow.web.resolvers.FlowComponentSpecResolver">
>                <set-object property="specificationSource"
> value="infrastructure:specificationSource"/>
>                <set-service property="delegate"
> service-id="tapestry.page.SpecificationResolverDelegate"/>
>                <set-object property="applicationId"
> value="infrastructure:applicationId"/>
>                <set-object property="contextRoot"
> value="infrastructure:contextRoot"/>
>                <set-object property="classFinder"
> value="infrastructure:classFinder"/>
>                <set-configuration property="substitutions"
> configuration-id="tacos.services.ComponentSubstitutions"/>
>                <set-configuration property="templateMap"
> configuration-id="templateMap"/>
>            </construct>
>        </invoke-factory>
>    </implementation>
> 
>    <service-point id="FlowTemplateMemoryMappedLocationRenderStrategy"
> interface="org.apache.tapestry.describe.RenderStrategy">
>        <invoke-factory>
>            <construct
> class="org.amplafi.flow.web.resolvers.MemoryMappedLocationRenderStrategy">
>            </construct>
>        </invoke-factory>
>    </service-point>
> 
> I would appreciate someone pointing me to the equivalent interfaces in T5.
> 
> Thanks!
> 
> Patrick Moore
> Amplafi
> http://amplafi.com
> mobile: 650-207-9792
> "Put your front window on your front page"
> corp blog : http://amplafi.com/blog
> personal blog : http://www.sworddance.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to