Christopher Cotton wrote:

> MgnlContext.getJCRSession("website").[b]getNode[/b]("path_to_node").[b]getProperty[/b]("name_of_text_field").[b]getValue[/b]().[b]getString[/b]();

Using SessionUtil and PropertyUtil can probably simplify this to something like:

PropertyUtil.getString(SessionUtil.getNode(workspace, path), propertyName);

Nils.

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