A select widget that recursively collects all
org.opencms.xml.content.CmsXmlContent resources of a given type (name) under a given path and creates select options that contain the
xmlcontents field value specified by a name (xpath) as display String and the xmlcontents path
(given) as the value.
The configuration String has to be of the following form:
"[folder=<vfspath>]|[displayOptionMacro=<macro>]|[resourcetypeName=<typename, typename,...>]|sortMacro=<macro>]|[ignoreLocaleMatch=<boolean>][|propertyname=propertyvalue]*
where
<macro>
is a String containing valid OpenCms macros or xpath expression in the form:
"You are viewing: %(property.Title) "
or
"%(xpath.Firstname) %(xpath.Lastname), Nocakla inc."
in which the xpath macros will be replaced with
org.opencms.xml.A_CmsXmlDocument.getValue(StringLocale)
<vfspath>
is a valid resource path to a folder in the VFS where search is started from,
<resourcetypeName>
is a comma separated list of resource type names as defined in opencms-modules.xml,
[ignoreLocaleMatch=<boolean>]
allows to turn off the matching of the editor locale to the locale property of the resource
(prio 1 if property found) or the existance of that locale in the XML content (prio 2) and
[|propertyname = propertyvalue]*
is a arbitrary number of properties value mappings that have to exist on the resources to. |