Looks like a typo to me. An error occurred at line: 29 in the jsp file: /templates/components/BannerForXML.jsp TemplatingFuncitons cannot be resolved
It should be TemplatingFunctions HTH, Jan On Aug 7, 2012, at 5:23 PM, Erando (via Magnolia Forums) wrote: > Hi Jan, thank you very much for this approach. > > My script now looks like this: > > [code]<%@ taglib prefix="cmsfn" > uri="http://magnolia-cms.com/taglib/templating-components/cmsfn" %> > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <%@ page import="javax.jcr.*" %> > <%@ page import="info.magnolia.templating.*" %> > > > <br> > <br> > _(4)_ > <br> > <% for (PropertyIterator iter = > TemplatingFuncitons.asJCRNode(versions).getProperties(); iter.hasNext();) { > Property myProperty = iter.nextProperty(); %> > <%= myProperty.getString() %><% > } %> > > [/code] > > But I get errors (see catalina.out log file at http://pastebin.com/yycgYhk4) > and don't know how to handle them...can you tell me what's wrong? > > [code]TemplatingFuncitons cannot be resolved > versions cannot be resolved[/code] > > Thank you once again! That's quite important for me. > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=1f7b9031-46d7-47bd-884d-739251ec15d2 > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
