<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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.CmsTypeComboWidget"
      alias="TypeComboWidget" /><br>
      <br>
      Regards<br>
      Antonio <br>
      <br>
      <pre class="moz-signature" cols="72">_______________________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA) - Italy
<a class="moz-txt-link-abbreviated" href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
_______________________________________________</pre>
      <br>
      <br>
      <br>
      On 29/03/2017 11:21, Clement Wee wrote:<br>
    </div>
    <blockquote
cite="mid:CAM8TMLB-3nRTXkZyNvpoQR4ERgseLroDoXcXUTCEqAN8LaP_=g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello!
        <div><br>
        </div>
        <div>I just created an OpenCMS native widget following the
          instructions in the documentation. All the export points are
          set up properly etc, but I am getting the following error when
          I try to load a component using that widget in the Site
          Editor.<br>
          <br>
          29 Mar 2017 17:14:47,863 ERROR
          [ncms.loader.CmsResourceManager: 618] Error in
          getAllowedContextMap,
          schema=/system/modules/elixir.opencms/schemas/SampleCustomChart.xsd,
          type=SampleCustomChart, Invalid custom widget class
          "com.elixirtech.opencms.ChartEditor" for element "Chart" in
          content definition
          "opencms://system/modules/elixir.opencms/schemas/SampleCustomChart.xsd".<br>
          <br>
          The class com.elixirtech.opencms.ChartEditor exists in a jar
          in the lib folder of the module, which is already exported, so
          I have no idea why it can't export. Is it because the package
          name of the module and the package name of the Widget Class is
          different?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Clement</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



</pre>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>