Yes it was just that.
J.
2012/1/10 Julien Martin
> Thanks Jonathan.
> I am realizing it is probably a basic mistake on my part on the Spring
> configuration side.
> The exception I got was misleading.
> Julien.
>
> 2012/1/10 Jonathan Barker
>
>> I was noticing that I hooked up that service usin
Thanks Jonathan.
I am realizing it is probably a basic mistake on my part on the Spring
configuration side.
The exception I got was misleading.
Julien.
2012/1/10 Jonathan Barker
> I was noticing that I hooked up that service using Spring, rather than
> in AppModule, but it shouldn't matter much.
I was noticing that I hooked up that service using Spring, rather than
in AppModule, but it shouldn't matter much.
private void init() {
_logger.debug("init() starting");
if (_configuration == null) {
_configuration = new Configurati
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);*
*
*
*
resource.loader=class
class.resource.loader.class=org.apache.velocity
Thanks a lot for your reply Jonathan,
Can you share some code sample (if you have it to hand) please?
Also where does this code go?
*configuration.setClassForTemplateLoading(Class clazz, String directory)*
Regards,
Julien.
2012/1/10 Jonathan Barker
> The Freemarker project gave me similar proble
The Freemarker project gave me similar problems. They have a
Configuration object where you can do
configuration.setClassForTemplateLoading(Class clazz, String
directory). Does Velocity have the same option? If it does, I just
used getClass() within my service to supply that Class parameter.
On
On Tue, 10 Jan 2012 16:09:07 -0200, Julien Martin wrote:
Caused by: org.apache.velocity.exception.ResourceNotFoundException:
Unable to find resource
'request-childminder-confirmation-mail-template_fr.htm'
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceMan
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
> wrote:
>
> Hello,
>>
>
> Hi!
>
>
> *org.apache.tapestry5.runtime.**ComponentEventException: Unable
On Tue, 10 Jan 2012 14:46:01 -0200, Julien Martin 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/InscriptionProfessionnelGardeEnfant.tml,
line 20]*
Hello,
I have an app with:
-a web layer (Tapestry5)
-a service layer (Spring)
-a domain layer (Jpa)
I have a mail template located a the root of the my-project-service.jar
file (service layer) and it seems that Tapestry imposes its own classpath
location which causes the velocity template resolu
10 matches
Mail list logo