[opencms-dev] Adding a new element into xml content programatically

Chuck Mysak chuck.mysak at gmail.com
Thu Dec 11 17:39:08 CET 2008


Hello all,

I have a problem regarding adding a new element into a structured content
file.
The element is of *OpenCmsVfsFile* type.

I have tried the following:
- editing the element using CmsXmlContent doesn't do the trick, the element
doesn't exist (by default it has to be added in the editor)
- adding the element using CmsXmlPage didn't work, because when I
unmarshalled the page using the existing file, I was left with an empty xml

If someone has an idea, please help

Thank you,

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20081211/fcdcdebf/attachment.htm>


More information about the opencms-dev mailing list