Contribution org.nuxeo.ecm.platform.picture.jsf.layouts--widgettypes
In component org.nuxeo.ecm.platform.picture.jsf.layouts
org.nuxeo.ecm.platform.picture.jsf.layouts
inside nuxeo-platform-imaging-jsf-2021.56.5.jar /OSGI-INF/imaging-layouts-contrib.xml
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).
This contribution is part of XML component Extension Point
Extension point widgettypes of component WebLayoutManager.Registration Order
17
The registration order represents the order in which this contribution was registered on its target extention
point.
This will impact the override/merge behaviour when it is implemented on the target service, and is useful for
proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).
Contributed Items
XML Source
<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
<widgetType name="picture_view">
<configuration>
<sinceVersion>5.7.2</sinceVersion>
<title>Picture view</title>
<description>
<p>
The picture_view widget displays the configured View of a document
having the Picture facet.
</p>
<p>
It requires the following fields configuration: first field maps
the document model.
</p>
</description>
<handlingLabels>true</handlingLabels>
<properties>
<layouts mode="view">
<layout name="picture_view_widget_type_properties_view">
<rows>
<row>
<widget>pictureView</widget>
</row>
<row>
<widget>width</widget>
</row>
<row>
<widget>height</widget>
</row>
</rows>
<widget name="pictureView" type="selectOneListbox">
<labels>
<label mode="any">Picture view</label>
</labels>
<helpLabels>
<label mode="any">
The name of the picture view, defaults to
'Medium'.
</label>
</helpLabels>
<fields>
<field>pictureView</field>
</fields>
<selectOptions>
<option itemLabel="Medium (default value)" itemValue="Medium"/>
<option itemLabel="Small" itemValue="Small"/>
<option itemLabel="Thumbnail" itemValue="Thumbnail"/>
<option itemLabel="OriginalJpeg" itemValue="OriginalJpeg"/>
</selectOptions>
</widget>
<widget name="width" type="int">
<labels>
<label mode="any">Width</label>
</labels>
<helpLabels>
<label mode="any">
The width of the image.
</label>
</helpLabels>
<fields>
<field>width</field>
</fields>
</widget>
<widget name="height" type="text">
<labels>
<label mode="any">Height</label>
</labels>
<helpLabels>
<label mode="any">
The height of the image.
</label>
</helpLabels>
<fields>
<field>height</field>
</fields>
</widget>
</layout>
</layouts>
</properties>
<categories>
<category>summary</category>
</categories>
<supportedModes>
<mode>view</mode>
</supportedModes>
</configuration>
<handler-class>
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
</handler-class>
<property name="template">/widgets/picture_view_widget_template.xhtml</property>
</widgetType>
<widgetType name="dimensions">
<configuration>
<sinceVersion>7.1</sinceVersion>
<title>Dimensions</title>
<description>
<p>
The dimensions widget displays the dimensions of an image as "{width} x {height}".
</p>
<p>
The first field maps to the width, the second one to the height.
</p>
</description>
<handlingLabels>false</handlingLabels>
<categories>
<category>configuration_not_ready</category>
</categories>
<supportedModes>
<mode>view</mode>
</supportedModes>
<fields>
<list>false</list>
<complex>false</complex>
<supportedTypes>
<type>string</type>
</supportedTypes>
</fields>
</configuration>
<handler-class>
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
</handler-class>
<property name="template">/widgets/dimensions_widget_template.xhtml</property>
</widgetType>
<widgetType name="picture_additional_formats">
<configuration>
<sinceVersion>7.1</sinceVersion>
<title>Picture additional formats</title>
<description>
<p>
This widget displays the list of additional
formats for the given Picture document.
</p>
</description>
<handlingLabels>true</handlingLabels>
<categories>
<category>summary</category>
</categories>
<supportedModes>
<mode>view</mode>
</supportedModes>
<!-- no configurable properties -->
</configuration>
<handler-class>
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
</handler-class>
<property name="template">
/widgets/picture_additional_formats_widget_template.xhtml
</property>
</widgetType>
</extension>