10-10-2010 12:24 PM
<type name="ac:tgList">
<title>Tollgates List</title>
<parent>dl:dataListItem</parent>
<properties>
<property name="ac:tgTitle">
<title>Title</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="ac:tgPlannedDate">
<title>Planned Date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="ac:tgRevisedDate">
<title>Revised Date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="ac:tgActualDate">
<title>Actual Date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="ac:tgDecision">
<title>Decision</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="ac:tgDecisionList" />
</constraints>
</property>
<property name="ac:tgDecisionMaker">
<title>Type</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
</type>
<alfresco-config>
<!– ac:tgList type –>
<config evaluator="model-type" condition="ac:tgList">
<forms>
<!– Create item form –>
<form>
<field-visibility>
<show id="ac:tgTitle" />
<show id="ac:tgPlannedDate" />
<show id="ac:tgRevisedDate" />
<show id="ac:tgActualDate" />
<show id="ac:tgDecision" />
<show id="ac:tgDecisionMaker" />
</field-visibility>
<create-form template="../data-lists/forms/row-new.ftl" />
</form>
<!– Data Grid view –>
<form id="datagrid">
<field-visibility>
<show id="ac:tgTitle" />
<show id="ac:tgPlannedDate" />
<show id="ac:tgRevisedDate" />
<show id="ac:tgActualDate" />
<show id="ac:tgDecision" />
<show id="ac:tgDecisionMaker" />
</field-visibility>
</form>
</forms>
</config>
<!– ac_tgList type (existing nodes) –>
<config evaluator="node-type" condition="ac:tgList">
<forms>
<!– Data List pop-up edit form –>
<form>
<field-visibility>
<show id="ac:tgTitle" />
<show id="ac:tgPlannedDate" />
<show id="ac:tgRevisedDate" />
<show id="ac:tgActualDate" />
<show id="ac:tgDecision" />
<show id="ac:tgDecisionMaker" />
</field-visibility>
<edit-form template="../data-lists/forms/row-edit.ftl" />
</form>
</forms>
</config>
</alfresco-config>
10-11-2010 10:46 AM
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.