GalleryWidgets

(Difference between revisions)
Jump to: navigation, search
(Created page with "== Description == All standard gallery widgets (DownloadGalleryWidget, LinkGalleryWidget, HtmlGalleryWidget and TableGalleryWidget) share some configuration op...")
 
(Added link to XMLContent page and mentioned ImageGalleryWidget)
Line 1: Line 1:
 
== Description ==
 
== Description ==
All standard gallery widgets ([[DownloadGalleryWidget]], [[LinkGalleryWidget]], [[HtmlGalleryWidget]] and [[TableGalleryWidget]]) share some configuration options.
+
All standard gallery widgets ([[DownloadGalleryWidget]], [[HtmlGalleryWidget]], [[ImageGalleryWidget]], [[LinkGalleryWidget]] and [[TableGalleryWidget]]) share some configuration options.
  
 
== Configuration ==
 
== Configuration ==
Line 16: Line 16:
 
;startup : defines the startup folder that the widget should display when opened, e.g. `/demo_en/images/`
 
;startup : defines the startup folder that the widget should display when opened, e.g. `/demo_en/images/`
 
;class: optional class implementing the interface `[[I_CmsGalleryWidgetDynamicConfiguration]]` in the package `org.opencms.widgets`. This class can configure dynamic startup parameters.
 
;class: optional class implementing the interface `[[I_CmsGalleryWidgetDynamicConfiguration]]` in the package `org.opencms.widgets`. This class can configure dynamic startup parameters.
 +
 +
 +
==See also==
 +
*[[XMLContent]]

Revision as of 17:35, 14 September 2012

Contents

Description

All standard gallery widgets (DownloadGalleryWidget, HtmlGalleryWidget, ImageGalleryWidget, LinkGalleryWidget and TableGalleryWidget) share some configuration options.

Configuration

Remember that all configuration options have to be added in the annotation section of the XSD:

<xsd:annotation>
 <xsd:appinfo>
  <layouts>
   <layout element="..." widget="..." configuration="..." />

Options

type 
defines the startup folder type that the widget should display when opened, either `gallery` or `category`
startup 
defines the startup folder that the widget should display when opened, e.g. `/demo_en/images/`
class
optional class implementing the interface `I_CmsGalleryWidgetDynamicConfiguration` in the package `org.opencms.widgets`. This class can configure dynamic startup parameters.


See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox