<div dir="ltr">Hi Antonio,<br><br>No, I haven't. But does this matter since I am using the full qualified Java class name?<br><br>I am using OpenCMS 10.5.1, and adapting from the Native Widget example in the Official OpenCMS documentation:<br><br><a href="http://documentation.opencms.org/opencms-documentation/extending-opencms/extending-the-content-editor/writing-native-editor-widgets/">http://documentation.opencms.org/opencms-documentation/extending-opencms/extending-the-content-editor/writing-native-editor-widgets/</a><br><br>Regards,<div>Clement<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 30, 2017 at 6:00 PM,  <span dir="ltr"><<a href="mailto:opencms-dev-request@opencms.org" target="_blank">opencms-dev-request@opencms.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send opencms-dev mailing list submissions to<br>
        <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Invalid OpenCMS Widget Class Error (Antonio Cordeddu)<br>
   2. Writing my own editor change handler (mihai lacusteanu)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 29 Mar 2017 15:30:20 +0200<br>
From: Antonio Cordeddu <<a href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>><br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
Subject: Re: [opencms-dev] Invalid OpenCMS Widget Class Error<br>
Message-ID: <<a href="mailto:ef70081e-3654-8935-29c0-94a30bd6329f@coranto.it">ef70081e-3654-8935-29c0-<wbr>94a30bd6329f@coranto.it</a>><br>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br>
<br>
Hi Clement,<br>
<br>
have you add the node "widget" in opencms-vfs.xml config file?<br>
<br>
For example: <widget class="org.opencms.widgets.<wbr>CmsTypeComboWidget"<br>
alias="TypeComboWidget" /><br>
<br>
Regards<br>
Antonio<br>
<br>
______________________________<wbr>_________________<br>
Coranto informatica di Antonio Cordeddu<br>
Via Torricelli, 9 09047 Selargius (CA) - Italy<br>
<a href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a><br>
<a href="http://www.coranto.it" rel="noreferrer" target="_blank">http://www.coranto.it</a><br>
______________________________<wbr>_________________<br>
<br>
<br>
<br>
<br>
On 29/03/2017 11:21, Clement Wee wrote:<br>
> Hello!<br>
><br>
> I just created an OpenCMS native widget following the instructions in<br>
> the documentation. All the export points are set up properly etc, but<br>
> I am getting the following error when I try to load a component using<br>
> that widget in the Site Editor.<br>
><br>
> 29 Mar 2017 17:14:47,863 ERROR [ncms.loader.<wbr>CmsResourceManager: 618]<br>
> Error in getAllowedContextMap,<br>
> schema=/system/modules/elixir.<wbr>opencms/schemas/<wbr>SampleCustomChart.xsd,<br>
> type=SampleCustomChart, Invalid custom widget class<br>
> "com.elixirtech.opencms.<wbr>ChartEditor" for element "Chart" in content<br>
> definition<br>
> "opencms://system/modules/<wbr>elixir.opencms/schemas/<wbr>SampleCustomChart.xsd".<br>
><br>
> The class com.elixirtech.opencms.<wbr>ChartEditor exists in a jar in the<br>
> lib folder of the module, which is already exported, so I have no idea<br>
> why it can't export. Is it because the package name of the module and<br>
> the package name of the Widget Class is different?<br>
><br>
> Regards,<br>
> Clement<br>
><br>
><br>
> ______________________________<wbr>_________________<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/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170329/277e461d/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170329/277e461d/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 29 Mar 2017 16:32:06 +0300<br>
From: mihai lacusteanu <<a href="mailto:mihailacusteanu@gmail.com">mihailacusteanu@gmail.com</a>><br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
Subject: [opencms-dev] Writing my own editor change handler<br>
Message-ID:<br>
        <CAHwLZpn5svWnc=<a href="mailto:XBGiW_%2BzQfvQVGe1HpWOxsna22E4zhtjFF%2BA@mail.gmail.com">XBGiW_+<wbr>zQfvQVGe1HpWOxsna22E4zhtjFF+A@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I need to implement my own change handler.<br>
But I don't know where to put the file.<br>
<br>
The class I need is just like the  CmsEditorChangeHandlerProperty class<br>
with a few changes....so I created at first a file just<br>
like CmsEditorChangeHandlerProperty<wbr>.java to test if it works but I don't<br>
know where should I put it<br>
<br>
Can somebody help me?<br>
Thank you!<br>
<br>
*The CmsEditorChangeHandlerProperty file:*<br>
<br>
<a href="http://documentation.opencms.org/javadoc/core/src-html/org/opencms/ade/contenteditor/CmsEditorChangeHandlerProperty.html#line.46" rel="noreferrer" target="_blank">http://documentation.opencms.<wbr>org/javadoc/core/src-html/org/<wbr>opencms/ade/contenteditor/<wbr>CmsEditorChangeHandlerProperty<wbr>.html#line.46</a><br>
<br>
*Doc:*<br>
<a href="http://documentation.opencms.org/opencms-documentation/content-in-opencms/defining-a-content-type/defining-the-contents-behavior/adjusting-the-contents-appearance-in-the-content-editor/dependent-editor-fields/index.html#writing_own_handlers" rel="noreferrer" target="_blank">http://documentation.opencms.<wbr>org/opencms-documentation/<wbr>content-in-opencms/defining-a-<wbr>content-type/defining-the-<wbr>contents-behavior/adjusting-<wbr>the-contents-appearance-in-<wbr>the-content-editor/dependent-<wbr>editor-fields/index.html#<wbr>writing_own_handlers</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170329/97fb27b4/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170329/97fb27b4/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<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/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
End of opencms-dev Digest, Vol 282, Issue 4<br>
******************************<wbr>*************<br>
</blockquote></div><br></div></div></div>