Hi guys, again.. just a quick update. 1) Direct access to "protected" pages has been handled by a custom RenderingFilter. Wow, quite easy. 2) A custom renderer has been done extending STKRenderer and overriding wrapNodeForModel and wrapNodeForTemplate. Easy again. Thanks Magnolia.
Now. I have an events. This event: http://demopublic.magnolia-cms.com/demo-project/service/dummy-events/another-event-9.html And I have a list. This list: http://demopublic.magnolia-cms.com/demo-project/news-and-events.html If I access directly the event page, I have a 404.. fine! Never been so happy to have a 404.. But I still see that event in the list of news-and-events. My guess is that the nodes that are coming from the model class are not decorated with my new decorator. For instance. Here: [code]class: info.magnolia.module.templatingkit.templates.category.TemplateCategoryUtil method: getWrappedNodesFromQuery[/code] I found this line: [code]itemsListFromQuery.add(new HTMLEscapingNodeWrapper(new I18nNodeWrapper(items.nextNode()), false));[/code] This means that my decorator is ignored, right? There is a way I can have the result nodes automatically wrapped with my new decorator? And even more. In Freemarker templates is the function [code]content?parent[/code] "safe" to use? If content is a decorated node, the ?parent returns a decorated node of the same type? Many many thanks, guys.. M. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=0f30a282-75c7-42ed-a73c-9379248d173b ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
