Hi Jan,

sorry, I've been to vacation recently. And well, I'm a beginner in JSP, 
yes...but the Magnolias class TemplatingFunctions is quite a mystery for 
me...how do I define this one propely? I tried several things with no 
result...like

[code]
 ContentMap versions = 
(ContentMap)pageContext.findAttribute("content.versions");
 Provider<AggregationState> aggregationProvider = new 
Provider<AggregationState>() {
             
           public AggregationState get() {
                return MgnlContext.getAggregationState();
              }
       };
 TemplatingFunctions tf = new TemplatingFunctions(aggregationProvider);
for (PropertyIterator iter = 
TemplatingFunctions.asJCRNode(versions).getProperties(); iter.hasNext();) 
{[/code]

I assume the declaration of versions might be correct, but I'm struggeling with 
the TemplatingFunctions class. Could you be so kind and give me a hint there?

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

Reply via email to