[opencms-dev] I: Custom widgets and the new acacia editor [SOLVED]
lruggeri at maticad.it
lruggeri at maticad.it
Mon Jan 28 15:01:52 CET 2013
Hi,
I solved this problem by myself.
When implementing org.opencms.widgets.I_CmsADEWidget#getWidgetName() you
need to return the class name of a built-in OpenCms widget otherwise it
will not work. I thought it should have been the class name of my custom
widget. In my case the lines below solved the problem.
@Override
public String getWidgetName() {
return CmsAdeDownloadGalleryWidget.class.getName();
}
Bye, Lisa
Da: Supporto tecnico DomuS3D [mailto:support at domus3d.com]
Inviato: mercoledì 23 gennaio 2013 15.50
A: 'The OpenCms mailing list'
Oggetto: Custom widgets and the new acacia editor
Hi,
after upgrading to OpenCms 8.5, my custom widgets dont show in the
interface of the new Acacia editor.
For example i have a widget defined as follows:
CmsAdeVideoGalleryWidget extends A_CmsAdeGalleryWidget {
}
If i switch to the default editor for xmlcontent then i see the button to
open the custom gallery and everything works fine.
In the Acacia editor i see just an input field without the button to open
the gallery.
Maybe something is changed that breaks compatibility?
Bye, Lisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130128/804e9dbf/attachment.htm>
More information about the opencms-dev
mailing list