byte[] XMLdocumentBytes = documentXML.getBytes("UTF-8");<br>List properties = new ArrayList();<br><br>              CmsProperty prop = new CmsProperty();<br>              prop.setName(CmsPropertyDefinition.PROPERTY_TEMPLATE_ELEMENTS
);<br>              prop.setValue("/system/modules/xxxxx.jsp",CmsProperty.TYPE_SHARED);<br>              properties.add(prop);<br><br>              prop = new CmsProperty();<br>              prop.setName(CmsPropertyDefinition.PROPERTY_TITLE
);<br>              prop.setValue("Title",CmsProperty.TYPE_SHARED);<br>              properties.add(prop);<br><br>              cms.createResource(resource, type,XMLdocumentBytes,properties);<br><br>type is the number given in 
opencms-vfs.xml to that content type.<br><br>Regards,<br>David.<br><br><div><span class="gmail_quote">2007/4/23, Isaac R. Higgins <<a href="mailto:isaac.higgins@isaacray.com">isaac.higgins@isaacray.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Does anyone have an example of how to use:<br><br>public CmsResource createResource(java.lang.String resourcename,<br>                                  int type,<br>                                  byte[] content,<br>                                  
java.util.List properties)<br><br>I am not understanding how to construct the "properties" object, and I want to set the title, description, and navigation text of the new resource.<br><br>Thanks,<br>Isaac<br><br>
<br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br></blockquote></div><br>