Hi again,

I'm trying to reproduce little by little the blossom sample from git repository 
in my own blossom module.
I have created only MainTemplate.java and TextComponent.java and corresponding 
jsp files as you can see in the following image:

[img]http://www.simudata.es/outsideSIMU/jerarquia.png[/img]

In the blossom-servlet.xml file I have the following path definition for the 
jsp files:
[code]<!-- JSP - renders all views that end with .jsp -->
  <bean class="info.magnolia.module.blossom.view.TemplateViewResolver">
    <property name="order" value="2"/>
    <property name="prefix" value="/templates/magnoModule/"/>
    <property name="viewNames" value="*.jsp"/>
    <property name="viewRenderer">
      <bean class="info.magnolia.module.blossom.view.JspTemplateViewRenderer"/>
    </property>
  </bean>[/code]

Inside Magnolia, I can create a page with "Two Columns" template as you can see:

[img]http://www.simudata.es/outsideSIMU/homeTwoColumns.png[/img]

But, while trying to open/edit the following happens:

[img]http://www.simudata.es/outsideSIMU/homeError.png[/img]

Template Error!

Error while rendering [/home] with template [magnoModule:pages/main]: 
RenderException: org.springframework.web.util.NestedServletException: Request 
processing failed; nested exception is 
info.magnolia.rendering.engine.RenderException: Can't render template 
/templates/magnoModule/pages/main.jsp 

Could you help me to see whats wrong?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3f466009-9d53-4b7d-96cf-e3ecad87be97


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to