Hello and thanks for the reply Muhammar, Here is the relevant code: *String content = VelocityEngineUtils.mergeTemplateIntoString(velocityEngine, "request-childminder-confirmation-mail-template_fr.htm", "UTF-8", model);* * * * <bean id="velocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean"> <property name="velocityProperties"> <value> resource.loader=class class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader </value> </property> </bean> * * * Regards, Julien.
P.S. Note that the template file is located within a jar. 2012/1/10 Muhammad Gelbana <m.gelb...@gmail.com> > Also please state the code causing the exception. > > On Tue, Jan 10, 2012 at 7:59 PM, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Tue, 10 Jan 2012 14:46:01 -0200, Julien Martin <bal...@gmail.com> > > wrote: > > > > Hello, > >> > > > > Hi! > > > > > > *org.apache.tapestry5.runtime.**ComponentEventException: Unable to find > >> resource 'request-childminder-**confirmation-mail-template_fr.**htm' [at > >> classpath:com/bignibou/web/**pages/**InscriptionProfessionnelGardeE** > >> nfant.tml, > >> line 20]* > >> > > > > Full stack trace please. In addition, loading a resource from the > > classpath using Tapestry is exactly the same as without Tapestry. > > > > -- > > Thiago H. de Paula Figueiredo > > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > > and instructor > > Owner, Ars Machina Tecnologia da Informação Ltda. > > http://www.arsmachina.com.br > > > > ------------------------------**------------------------------**--------- > > To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > users-unsubscr...@tapestry.apache.org> > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > *Regards,* > *Muhammad Gelbana > Java Developer* >