Hello,<br><br>I am very new to opencms. I have followed the online documentation and the wdogsystems article to create a simple xsd content definition. i am able to see my content type in the "create new" menu in the admin console. i am also able to create the content itself. however, when i right click on the name, the context-menu that is supposed to show me the options turns up blank.... no options at all! i have turned on debug logging on however, i dont see any logs! i am totally at a dead end as to what to do next! pleae help. followed below is my opencms-modules.xml, my content definition and logging properties...<br>
<br><module><br> <name>com.redo.poc.xmlcontent</name><br> <nicename><![CDATA[POC for XML Content]]></nicename><br> <class /><br> <description /><br>
<version>0.1</version><br> <authorname /><br> <authoremail /><br> <datecreated /><br> <userinstalled /><br> <dateinstalled /><br>
<dependencies /><br> <exportpoints><br> <exportpoint uri="/system/modules/com.redo.poc.xmlcontent/lib/"<br> destination="WEB-INF/lib/" /><br>
<exportpoint uri="/system/modules/com.redo.poc.xmlcontent/classes/"<br> destination="WEB-INF/classes/" /><br> </exportpoints><br> <resources><br>
<resource uri="/system/modules/com.redo.poc.xmlcontent/" /><br> </resources><br> <parameters /><br> <resourcetypes><br> <type name="image" class="org.opencms.file.types.CmsResourceTypeXmlContent"<br>
id="2500"><br> <properties/><br> <param name="schema">/system/modules/com.redo.poc.xmlcontent/content-defs/image.xsd</param><br>
</type><br> </resourcetypes><br> <explorertypes><br> <explorertype name="image" key="fileicon.image" icon="xmlcontent.gif"><br>
<newresource uri="newresource_xmlcontent.jsp?newresourcetype=image"<br> order="2500" page="structurecontent" /><br> <accesscontrol><br>
<accessentry principal="ROLE.WORKPLACE_USER"<br> permissions="+r+v+w+c" /><br> </accesscontrol><br> </explorertype><br>
</explorertypes><br> </module><br><br><br><br>xsd:<br><br><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"<br> elementFormDefault="qualified"><br>
<br> <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd" /><br> <xsd:element name="Images" type="OpenCmsImages" /><br><br> <xsd:complexType name="OpenCmsImages"><br>
<xsd:sequence><br> <xsd:element name="ImageType" type="OpenCmsImageType"<br> minOccurs="0" maxOccurs="unbounded" /><br> </xsd:sequence><br>
</xsd:complexType><br><br> <xsd:complexType name="OpenCmsImageType"><br> <xsd:sequence><br> <xsd:element name="Title" type="OpenCmsString" minOccurs="0"<br>
maxOccurs="1" /><br> <xsd:element name="Caption" type="OpenCmsString"<br> minOccurs="0" maxOccurs="1" /><br> <xsd:element name="ImageFile" type="OpenCmsVfsFile" <br>
minOccurs="0" maxOccurs="1" /><br> </xsd:sequence><br> <xsd:attribute name="language" type="OpenCmsLocale" use="required" /><br>
</xsd:complexType><br><br></xsd:schema><br><br><br>logging:<br><br># What follows is the default OpenCms log4j configuration.<br># OpenCms uses the "commons-logging" component to detect the available logging implementation.<br>
# A recent log4j.jar is shipped with the default OpenCms installation and thus log4j is used.<br># To use another logging mechanism, delete the shipped log4j.jar in /WEB-INF/lib.<br># You must then provide the configuration of the logging mechanism you want to use by<br>
# environment settings or startup parameters of the servlet engine.<br><br># OpenCms provides a special variable ${opencms.logfile} to the environment, which contains<br># the log file path. The location of this file is calculated relative to this <br>
# "log4j.properties" file on OpenCms startup. If this file is located in the folder "${classes}",<br># then the log is written to "${classes}../logs/opencms.log". <br># To disable this mechanism, you must set ${opencms.set.logfile} to "false". In this case <br>
# you must configure the log output file manually.<br>opencms.set.logfile=true<br>opencms.logfile=opencms_init.log<br><br># Per default we use WARN debug level and just one appender<br>log4j.rootLogger=\<br> ERROR,\<br>
OC<br><br># ,CONSOLE<br><br># Optional CONSOLE appender for logging on the system console (good for debugging during development)<br>log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender<br><br># CONSOLE uses PatternLayout.<br>
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout<br>#log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%25.25C:%4L] %m%n<br>log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%100C:%4L] %m%n<br><br># Set levels for all default channels available in OpenCms<br>
log4j.logger.com.opencms=DEBUG<br>log4j.logger.org.opencms=DEBUG<br>log4j.logger.org.opencms.flex=ERROR<br>log4j.logger.org.opencms.i18n=ERROR<br>log4j.logger.com.opencms.db.generic=ERROR<br>log4j.logger.org.opencms.db.generic=ERROR<br>
log4j.logger.org.opencms.init=INFO<br>log4j.logger.org.opencms.monitor=DEBUG<br>log4j.logger.org.opencms.scheduler=DEBUG<br>log4j.logger.org.opencms.search=INFO<br>log4j.logger.org.opencms.staticexport=DEBUG<br>log4j.logger.org.opencms.jsp.CmsJspLoginBean=DEBUG<br>
log4j.logger.org.opencms.db.mysql3.CmsProjectDriver=DEBUG<br>log4j.logger.org.opencms.db.mysql.CmsProjectDriver=DEBUG<br>log4j.logger.org.opencms.db.oracle8.CmsProjectDriver=DEBUG<br>log4j.logger.org.opencms.db.oracle.CmsProjectDriver=DEBUG<br>
log4j.logger.org.opencms.workplace.tools=WARN<br><br><br># This default appender configuration simply writes all OpenCms channels in one log file<br># A OpenCms 'channel' directly translates into a 'logger' in the log4j lingo<br>
log4j.appender.OC=org.apache.log4j.RollingFileAppender<br><br># In a default Tomcat installation, this should place the log file in the Tomcat log directory<br># Adjust this path in case you want to log in another directory<br>
log4j.appender.OC.File=${opencms.logfile}<br><br># Limit log size to 5mb, then rotate<br>log4j.appender.OC.MaxFileSize=2mb<br><br># Keep 5 backup files<br>log4j.appender.OC.MaxBackupIndex=5<br><br># This specifies the logfile layout<br>
log4j.appender.OC.layout=org.apache.log4j.PatternLayout<br>log4j.appender.OC.layout.ConversionPattern=%d{DATE} %5p [%C:%4L] %m%n<br>