<types>
<type name="az:doc">
<parent>cm:content</parent>
<properties>
<property name="az:version">
<type>d:text</type>
</property>
<property name="az:date">
<type>d:date</type>
</property>
</properties>
<associations>
<child-association name="az:azerty">
<source>
<mandatory>true</mandatory>
<many>false</many>
</source>
<target>
<class>az:model</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
<duplicate>false</duplicate>
<propagateTimestamps>true</propagateTimestamps>
</child-association>
</associations>
<mandatory-aspects>
<aspect>cm:versionable</aspect>
<aspect>cm:auditable</aspect>
</mandatory-aspects>
</type>
<type name="az:model">
<title>Proof Reading</title>
<parent>cm:content</parent>
<properties>
<property name="az:fr">
<type>d:text</type>
</property>
</properties>
</type>
</types>
<config evaluator="node-type" condition="az:doc">
<property-sheet>
<show-property name="az:version" show-in-edit-mode="true" />
<show-property name="az:date" show-in-edit-mode="true" />
<show-child-association name="az:azerty" component-generator="ChildAssociationGenerator" />
</property-sheet>
</config>
<config evaluator="node-type" condition="az:model">
<property-sheet>
<show-property name="az:fr" />
<show-child-association name="az:azerty" show-in-edit-mode="false" />
</property-sheet>
</config>
<%– Content list –%>
<a:richList id="contentRichList"
binding="#{BrowseBean.contentRichList}"
viewMode="#{BrowseBean.browseViewMode}"
pageSize="#{BrowseBean.pageSizeContent}"
styleClass="recordSet"
headerStyleClass="recordSetHeader"
rowStyleClass="recordSetRow"
altRowStyleClass="recordSetRowAlt"
width="100%"
value="#{BrowseBean.content}"
var="r">
for (FileInfo fileInfo : children)
{
// create our Node representation from the NodeRef
NodeRef nodeRef = fileInfo.getNodeRef();
// find it's type so we can see if it's a node we are interested in
QName type = this.getNodeService().getType(nodeRef);
// make sure the type is defined in the data dictionary
TypeDefinition typeDef = this.getDictionaryService().getType(type);
if (typeDef != null)
{
MapNode node = null;
[b]// look for File content node[/b]
if (this.getDictionaryService().isSubClass(type, ContentModel.TYPE_CONTENT))
{
// create our Node representation
node = new MapNode(nodeRef, this.getNodeService(), fileInfo.getProperties());
setupCommonBindingProperties(node);
[b][i] Rajouter ici :
si (noeud de mon type perso)
alors
si(noeud a des enfants)
this.contentNodes.add(enfant);
fin si[/i]
[/b]
this.contentNodes.add(node);
}
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.