08-06-2009 04:33 AM
09:10:08,136%20WARN%20%20[org.alfresco.web.bean.spaces.CreateSpaceWizard]%20Failed%20to%20add%20'ajv:carpeta'%20to%20the%20list%20of%20folder%20types%20as%20the%20prefix%20can%20not%20be%20resolved<?xml version="1.0" encoding="UTF-8"?>
<!– Modelo personalizado –>
<model name="ajv:modeloPersonalizado" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Modelo personalizado</description>
<author>Adrian E. Jimenez Vega</author>
<version>1.0</version>
<imports>
<!– Importamos definiciones de Alfresco, concretamente el diccionario de datos y el modelo de contenido de Alfresco –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<!– Registramos el Nuevo namespaces que se utilizara en este modelo –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="ajv.model" prefix="ajv"/>
</namespaces>
<types>
<!– Definicion de los tipos de contenido personalizados –>
<!– Definicion del tipo de contenido ajv:carpeta –>
<type name="ajv:carpeta">
<title>Carpeta de Proyecto</title>
<parent>cm:folder</parent>
<properties>
<property name="ajv:Mail">
<title>eMail</title>
<type>d:text</type>
</property>
<property name="ajv:Proyecto">
<title>Proyecto</title>
<type>d:text</type>
</property>
<property name="ajv:Fecha">
<title>Fecha</title>
<type>d:date</type>
</property>
</properties>
</type>
</types>
<aspects>
<!– Definicion de los aspectos personalizados –>
</aspects>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registro de nuevos modelos –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/ajvModel.xml</value>
</list>
</property>
</bean>
</beans>
</config>^M
–>^M
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="ajv:carpeta"/>
</subtypes>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<especialise-types>
<type name="ajv:carpeta"/>
</especialise-types>
</config>
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="ajv:carpeta"/>
</folder-types>
</config>
<config evaluator="node-type" condition="ajv:carpeta">
<property-sheet>
<show-property name="ajv:Mail"/>
<show-property name="ajv:Proyecto"/>
<show-property name="ajv:Fecha"/>
</property-sheet>
</config>
^M
</alfresco-config>^M
08-06-2009 05:30 AM
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="ajv:carpeta"/>
</folder-types>
</config>
<config evaluator="node-type" condition="ajv:carpeta">
<property-sheet>
<show-property name="ajv:Mail"/>
<show-property name="ajv:Proyecto"/>
<show-property name="ajv:Fecha"/>
</property-sheet>
</config>
08-06-2009 05:44 AM
08-06-2009 05:49 AM
08-06-2009 06:27 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Modelo personalizado –>
<model name="prj:modeloPersonalizado" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Modelo personalizado</description>
<author>Innovasoft NT</author>
<version>1.0</version>
<imports>
<!– Importamos definiciones de Alfresco, concretamente el diccionario de datos y el modelo de contenido de Alfresco –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<!– Registramos el Nuevo namespaces que se utilizara en este modelo –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="modelo.personalizado" prefix="prj"/>
</namespaces>
<types>
<!– Definicion de los tipos de contenido personalizados –>
<!– Definicion del tipo de carpeta con contador para renombrar su contenido ctic:counterfolder –>
<type name="prj:customfolder">
<title>Carpeta Personalizada</title>
<parent>cm:folder</parent>
<properties>
<property name="prj:propiedad1">
<title>Propiedad 1</title>
<type>d:text</type>
</property>
</properties>
</type>
</types>
<aspects>
</aspects>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registro de nuevos modelos –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/sampleModel.xml</value>
</list>
</property>
</bean>
</beans><alfresco-config>
<!– Esta configuracion nos permite crear tipos de carpeta ctic:counterfolder –>
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="prj:customfolder"/>
</folder-types>
</config>
<!– Esta configuracion nos permite modificar el valor del contador de la carpeta –>
<config evaluator="node-type" condition="prj:customfolder">
<property-sheet>
<show-property name="prj:propiedad1"/>
</property-sheet>
</config>
<!– Esta configuracion nos permite seleccionar el tipo de carpeta como subtipo o bien especializar una carpeta existente a este –>
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="prj:customfolder"/>
</subtypes>
<specialise-types>
<type name="prj:customfolder" />
</specialise-types>
</config>
</alfresco-config>08-06-2009 06:30 AM
08-06-2009 06:32 AM
08-06-2009 06:51 AM
08-06-2009 06:52 AM
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="ajv:carpeta"/>
</folder-types>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
</aspects>
<subtypes>
<type name="ajv:carpeta"/>
</subtypes>
<specialise-types>
<type name="ajv:carpeta"/>
</specialise-types>
</config>
<config evaluator="node-type" condition="ajv:carpeta">
<property-sheet>
<show-property name="ajv:Mail"/>
<show-property name="ajv:Proyecto"/>
<show-property name="ajv:Fecha"/>
</property-sheet>
</config>
08-06-2009 07:07 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.