<html><div style='background-color:'><DIV class=RTE>hi list</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>i've defined my own custom content type; now i would like to perform<BR>some operations when my content is created/edited (i need to read some</DIV>
<DIV class=RTE>fields in the content and write them to a file...). To do this i've<BR>subclassed CmsResourceTypeXmlContent and modified 2 files:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>opencms-vfs.xml:</DIV>
<DIV class=RTE><FONT size=1>
<P><type class="org.mypackage.CmsResourceTypeNews" name="</FONT><FONT face="Courier New" size=1>tipo_news</FONT><FONT size=1>" id="700"/></P></FONT></DIV>
<DIV class=RTE>opencms-modules.xml:</DIV>
<DIV class=RTE><FONT size=1>
<P><resourcetypes></P>
<P></FONT><FONT face="Courier New" size=1><type class="org.mypackage.type.CmsResourceTypeNews" name="News" id="600"></P></FONT><FONT size=1>
<P><properties></P>
<P><property></P>
<P><name>template-elements</name></P>
<P><value type="shared"><![CDATA[/system/modules/org.mypackage.news/jsptemplates/news.jsp]]></value></P>
<P></property></P>
<P></properties></P>
<P><param name="schema">/system/modules/org.mypackage.news/schemas/news.xsd</param></P>
<P></type></P>
<P></resourcetypes></P>
<P><explorertypes></P>
<P><explorertype name="News" key="fileicon.News" icon="article.gif" reference="</FONT><FONT face="Courier New" size=1>xmlcontent</FONT><FONT size=1>"></P>
<P><newresource page="structurecontent" uri="newresource_xmlcontent.jsp?newresourcetype=News" order="600" autosetnavigation="false" autosettitle="false"/></P>
<P><accesscontrol></P>
<P><accessentry principal="GROUP.Administrators" permissions="+r+v+w+c"/></P>
<P><accessentry principal="GROUP.Projectmanagers" permissions="+r+v+w+c"/></P>
<P><accessentry principal="GROUP.Proyectos" permissions="+r+v+w"/></P>
<P></accesscontrol></P>
<P></explorertype></P>
<P></explorertypes></P></FONT></DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Now, i can create new content and my class is called, but i'm not allowed to</DIV>
<DIV class=RTE>edit it (it appears grayed)</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>exists some tutorial on this topic?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>thanks</DIV></div><br clear=all><hr>Tu horóscopo diario, semanal y gratuito. <a href="http://g.msn.com/8HMAESES/2728??PS=47575" target="_top">Cartas, tarot y predicciones en MSN Horóscopo</a> </html>