[opencms-dev] creating instances of structured content programmatically

eelboy at aol.com eelboy at aol.com
Thu Jan 6 04:20:23 CET 2011


yes thank you :) I found this class about 20 minutes after I sent my 
post - thanks again!

On 1/5/2011 9:53 AM, Paul-Inge Flakstad wrote:
> A property is not part of any XML element (although a mapping may exist, telling the system to copy the XML element's value into a property), so an XPath is not something you should consider for this task.
>
> Instead, try writing your property value simply by using CmsObject:
> http://www.opencms.org/javadoc/core/org/opencms/file/CmsObject.html#writePropertyObject(java.lang.String,%20org.opencms.file.CmsProperty)
>
> I hope this helps you!:)
>



More information about the opencms-dev mailing list