Hi Natascha,

I have tried setting the renderType to "stk" (or removing my override data node 
for it), now I get a null pointer relating to the Theme:

[quote]

FreeMarker template error!


Method public info.magnolia.module.templatingkit.style.Theme 
info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.theme(info.magnolia.module.templatingkit.sites.Site)
 threw an exception when invoked on 
info.magnolia.module.templatingkit.functions.STKTemplatingFunctions@43eca88e
The problematic instruction:
----------
==> list stkfn.theme(pageModel.site).cssFiles as cssFile [on line 32, column 1 
in templating-kit/pages/global/htmlHeader.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public 
info.magnolia.module.templatingkit.style.Theme 
info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.theme(info.magnolia.module.templatingkit.sites.Site)
 threw an exception when invoked on 
info.magnolia.module.templatingkit.functions.STKTemplatingFunctions@43eca88e
        at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
[/quote]

Is it going to be possible to use the stk templates and provide my own model 
class?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=7609ea5b-2a6a-42cf-bab2-e84581c6033e


----------------------------------------------------------------
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