Hi guys,

inside my java class controller, I want to get the value (556035) of the node 
called 'text' in my JCR Browser as shown in the image:
[img]http://img541.imageshack.us/img541/7517/jcr.png[/img]

I tried with this code:
[code]Content pageContent = MgnlContext.getAggregationState().getMainContent();
      PropertyIterator iter = pageContent.getJCRNode().getProperties();
[/code]
but I only get some properties of DocumentaleForm folder, like Title and so 
on...

Any ideas?

P.s.:
Why are info.magnolia.cms.core.Content and info.magnolia.cms.core.NodeData 
deprecated? I'm using Magnolia CE 4.5.

Thanks in advance.
Fabio

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=65ad3023-a6b9-4c68-90ec-d17fda557db0


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