Not really, This seems to be a closer match : http://blog.tapestry5.de/index.php/2010/08/06/extending-template-lookup-mechanism/
but still not exactly what I am looking for... We have a component generator that generates component templates for components with a certain suffix. ( "FullFlow" ) For example, "FileUploadForMessageFullFlow" and "CreateMessageFullFlow" components both have names that end in "FullFlow". The components "FileUploadForMessageFullFlow" and "CreateMessageFullFlow" do not exist in the traditional sense - no .java, no.tml . Our component generator knows how to generate the templates for "FileUploadForMessageFullFlow" and "CreateMessageFullFlow" programmatically. These components are very different from each other. Note that we are generating the *template*programmatically not the html. ( our generated template is static for the duration of the server ) 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 On Sun, Aug 22, 2010 at 7:42 PM, Josh Canfield <joshcanfi...@gmail.com>wrote: > Sorry, I read your question again (not on the phone this time) and it > looks like you are trying to load your templates from another > location. Does this thread help? > > > http://tapestry-users.832.n2.nabble.com/How-to-load-tml-files-from-the-filesystem-instead-of-classpath-td5009386.html#a5029201 > > Josh > > On Sun, 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 > > > > > > -- > -- > http://www.bodylabgym.com - a private, by appointment only, one-on-one > health and fitness facility. > -- > http://www.ectransition.com - Quality Electronic Cigarettes at a > reasonable price! > -- > TheDailyTube.com. Sign up and get the best new videos on the internet > delivered fresh to your inbox. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >