[opencms-dev] Question about widgets and custom galleries in OpenCms 8.0.3
Rüdiger Kurz
r.kurz at alkacon.com
Tue Feb 21 12:47:27 CET 2012
Hi,
it sounds like you want to create a GalleryWidget for the XML-Content
editor. Therefore you have to extend the class
org.opencms.widgets.A_CmsAdeGalleryWidget, have a look at
org.opencms.widgets.CmsAdeDownloadGalleryWidget you can use it as copy
paste template. For example you can implement the method
org.opencms.widgets.CmsAdeDownloadGalleryWidget.getGalleryTypes() and
return a specific resource type name that should be listed in the gallery.
Good luck
Rüdiger
Am 17.02.2012 11:31, schrieb Sandrine Prousteau:
> Hi
> I'd like to know if it is possible to have some edition fields which
> opens ADEGallery with custom type gallery.
> For example I've created a type referencegallery, like in
> com.alkacon.opencms.v8.article, and it works well in explorer view. I
> have another xmlcontent type, with some VfsFile fields, where I want to
> select some reference type elements. I'd like these fields opens like
> ADEDownloadGallery, listing only my reference type elements. Is it
> possible? Must I create classes for that?
> Thanks for your help.
> Sandrine.
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
--
Kind Regards,
Rüdiger.
-------------------
Rüdiger Kurz
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
More information about the opencms-dev
mailing list