[opencms-dev] editor configuration for a resource type

Alessio Zurleni azurleni at heptra.com
Fri Dec 14 09:39:50 CET 2007


If I understand, you want to take off some options from contextual menu.
I think that it would be better not to change them from generic
"xmlcontent" opencms-workplace configuration but instead adding to your
module in opencms-modules.xml.  For instance, you define new type from
xmlcontent skeleton and you manager your custom menu entries within.



Pablo Siviero wrote:
> Hi all, I'm trying to remove some default properties for a resource type. 
> Removing them from "xmlcontent" definition at opencms-workplace is not a solution as I want that properties to remain for the other resource types pointing to it. 
> I tried to copy the "xmlcontent" definition, changed its name to "noprop" and pointed the resource type to my new explorertype. All the actions work (publish, touch, copy, etc) but when I try to edit it, OpenCms doesn't find an editor, throwing "org.opencms.workplace.CmsWorkplaceException: Cannot find valid editor for the file."
> Any idea? Thanks in advance.
> Pablo.
> ------------------------------------------------------------------------
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20071214/230483f9/attachment.html>

More information about the opencms-dev mailing list