Hi Magnolians,
I'm working on 4.3.2 and I'm following the example about subtemplates (
http://documentation.magnolia-cms.com/templating/introduction.html) provided
for the old 3.x.x that I used many times.
I created the a subtemplates .xml and I obtained the following error when
calling the page associated to the subtemplate
2010-08-03 10:55:46,209 ERROR
info.magnolia.module.templating.RenderingFilter : Can't create rendering
model: ClassCastException:
info.magnolia.module.templating.RenderingModelImpl cannot be cast to
info.magnolia.module.templatingkit.templates.STKTemplateModel
info.magnolia.module.templating.RenderException: Can't create rendering
model: ClassCastException:
info.magnolia.module.templating.RenderingModelImpl cannot be cast to
info.magnolia.module.templatingkit.templates.STKTemplateModel
at
info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:73)
at
info.magnolia.module.templatingkit.renderers.STKTemplateRenderer.render(STKTemplateRenderer.java:88)
My questions are:
-In order to define a subtemplate, what are the configurations?
-I defined MySTKTemplate extension of STKTemplate and added a class value
like this: subtemplates/xml/class. Is it right?
-Is there a working example?
-Any advice??
Thank you.
Best Regards.
Andrea
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------