07-19-2007 04:53 AM
<alfresco-config>
<!– Example of adding languages to the list in the login page –>
<config evaluator="string-compare" condition="Languages">
<languages>
<language locale="ca_ES">Catalan</language>
<language locale="da_DK">Danish</language>
<language locale="de_DE">German</language>
<language locale="es_ES">Spanish</language>
<language locale="el_GR">Greek</language>
<language locale="fr_FR">French</language>
<language locale="it_IT">Italian</language>
<language locale="ja_JP">Japanese</language>
<language locale="du_NL">Dutch</language>
<language locale="pt_BR">Portuguese (Brazilian)</language>
<language locale="ru_RU">Russian</language>
<language locale="fi_FI">Finnish</language>
<language locale="tr_TR">Turkish</language>
<language locale="zh_CN">Simplified Chinese</language>
</languages>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="my:sop" />
</content-types>
</config>
<config evaluator="node-type" condition="my:sop">
<property-sheet>
<show-property name="mimetype" display-label-id="content_type"
component-generator="MimeTypeSelectorGenerator" />
<show-property name="size" display-label-id="size"
converter="org.alfresco.faces.ByteSizeConverter"
show-in-edit-mode="false" />
<show-property name="my:Numero CIN" />
<show-association name="my:signOff" />
<show-property name="my:Date de Signature" />
<show-child-association name="my:processSteps" />
</property-sheet>
</config>
<config evaluator="aspect-name" condition="my:imageClassification">
<property-sheet>
<show-property name="my:width"/>
<show-property name="my:height"/>
<show-property name="my:resolution"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="my:imageClassification"/>
</aspects>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="my:sop" />
</content-types>
<custom-properties>
<meta-data type="my:sop" property="my:Numero CIN" />
<meta-data type="my:sop" property="my:Date de Signature" />
<meta-data aspect="my:imageClassification" property="my:resolution" />
</custom-properties>
</advanced-search>
</config>
<!– add webable aspect properties to property sheet –>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="sc:doc" />
</content-types>
</config>
<config evaluator="node-type" condition="sc:doc">
<property-sheet>
<show-property name="sc:Identifiant_Unique" />
<show-property name="sc:Nom_De_L_Affilie" />
<show-property name="sc:Prenom_De_L_Affilie" />
<show-property name="sc:Date_De_Naissance" />
<show-property name="sc:Numero_Extrait" />
<show-property name="sc:Annee_Extrait" />
<!– <show-association name="sc:relatedDocuments" />–>
</property-sheet>
</config>
<config evaluator="aspect-name" condition="sc:webable">
<property-sheet>
<show-property name="sc:published" display-label-id="published" />
<show-property name="sc:isActive" display-label-id="isActive" read-only="true"/>
<show-association name="sc:relatedDocuments" />
</property-sheet>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<aspects>
<aspect name="sc:webable"/>
<aspect name="sc:productRelated"/>
</aspects>
<subtypes>
<type name="sc:doc" />
</subtypes>
<specialise-types>
<type name="sc:doc" />
</specialise-types>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="sc:doc" />
</content-types>
<custom-properties>
<meta-data type="sc:doc" property="sc:Identifiant_Unique" />
<meta-data type="sc:doc" property="sc:Nom_De_L_Affilie" />
<meta-data type="sc:doc" property="sc:Prenom_De_L_Affilie" />
<meta-data type="sc:doc" property="sc:Date_De_Naissance" />
<meta-data type="sc:doc" property="sc:Numero_Extrait" />
<meta-data type="sc:doc" property="sc:Annee_Extrait" />
</custom-properties>
</advanced-search>
</config>
</alfresco-config>
merci d'avance pour votre aide.07-19-2007 08:10 AM
<config evaluator="string-compare" condition="Content Wizards">
et s'assurer que tous tes nouveaux types s'y trouvent.07-20-2007 06:20 AM
07-20-2007 06:25 AM
07-25-2007 04:19 AM
07-25-2007 04:25 AM
07-25-2007 06:08 AM
07-26-2007 03:43 AM
07-26-2007 04:32 AM
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]dans les traces, c'est qu'il y a un processus Tomcat zombie qui bloque déjà le port RMI. Tuer le processus ou rebooter résoud le problème. Ca n'a normalement aucun rapport avec le modèle de données.
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
07-26-2007 05:37 AM
<config evaluator="string-compare" condition="Action Wizards">il suffit de supprimer "display-label-id=…", et voilà le tour est joué ! :cool:
<aspects>
<aspect name="my:aspectImage" display-label="Aspect Image" display-label-id="Aspect Image"/>
</aspects>
</config>
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.