02-20-2008 08:46 AM
<type name="prfix:Type">
<title>Title</title>
<parent>cm:content</parent>
<properties>
<property name="xxx">
<title>Prop1</title>
<type>d:text</type>
</property>
<property name="yyy">
<title>Prop2</title>
<type>d:date</type>
</property>
<property name="zzz">
<title>Prop3</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
02-21-2008 08:57 AM
ConfigService svc = Application.getConfigService(FacesContext.getCurrentInstance());
Config wizardCfg = svc.getConfig("prfix:Type");
ConfigElement typesCfg = wizardCfg.getConfigElement("show-property");
<config evaluator="node-type" condition="prfix:Type">
<property-sheet>
<show-property name="Prop1" />
<show-property name="Prop2" />
<show-property name="Prop3" />
</config>
02-25-2008 06:05 AM
02-25-2008 06:13 AM
02-25-2008 09:14 AM
ConfigService svc = Application.getConfigService(FacesContext.getCurrentInstance());
Config wizardCfg = svc.getConfig(yourNode);
PropertySheetConfigElement props = (PropertySheetConfigElement)wizardCfg.getConfigElement("property-sheet");
List<String> propsToShow = props.getItemNamesToShow();
02-25-2008 09:24 AM
02-25-2008 09:47 AM
<config evaluator="node-type" condition="ecm:TypeName">
with:
<config evaluator="string-compare" condition="ecm:TypeName">
ConfigService svc = Application.getConfigService(FacesContext.getCurrentInstance());
Config wizardCfg = svc.getConfig("ecm:TypeName");
PropertySheetConfigElement props = (PropertySheetConfigElement)wizardCfg.getConfigElement("property-sheet");
List<String> propsToShow = props.getItemNamesToShow();
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.