Hi Hartmut,
You could use this function
NodeDataUtil.getString("repository","/path/to/the/node","defaultValue");HTH CAPITAINE Harold Hartmut Kern a écrit :
Hi list,I am working on a template which uses dms.jsp. The jsp is looking for the data "subject" (which is part of the meta data of a l l dms objects, and which can be edited via the dialog of dms.jsp.So: doc.getNodeData("subject").getString(), doesn't work, because it is deprecated. ---snip getNodeData is deprecated since 3.0?! /** * @deprecated * @param name * @return */ public NodeData getNodeData(String name) { return node.getNodeData(name); } --snip What could I use instead to access Meta Data stored in the node? Best Hartmut ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
