03-23-2010 06:02 AM
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Inside encodeBegin()
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] size 8
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@159a5a7
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@8aa1b1
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@17d7d2e
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1a57585
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1c68525
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@4f7f9f
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@143b35f
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1b53930
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] super.isRendered() true
03-23-2010 02:49 PM
03-23-2010 03:07 PM
<config evaluator="aspect-name" condition="cm:generalclassifiable">
<property-sheet>
<show-property name="cm:categories"></show-property>
</property-sheet>
</config>
<config evaluator="node-type" condition="km:knowledgedoc">
<property-sheet>
<show-property name="km:coauthor" display-label="Co-Author"/>
</property-sheet>
</config>
<component>
<component-type>org.alfresco.faces.PropertySheet</component-type>
<component-class>com.xxxxxx.alfresco.km.web.RefreshableUIPropertySheet</component-class>
</component>
<managed-bean>
<description>
Bean that generates a custom generator component
</description>
<managed-bean-name>CustomListComponentGeneratorWithRefresh</managed-bean-name>
<managed-bean-class>com.xxxxxx.alfresco.km.web.CustomListComponentGenerator</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>autoRefresh</property-name>
<value>true</value>
</managed-property>
<managed-property>
<property-name>communityConstraintsMap</property-name>
<value>#{CommunitySearchConstraintMap}</value>
</managed-property>
</managed-bean>
<managed-bean>
<description>
Bean that generates a custom generator component
</description>
<managed-bean-name>CustomDependentListComponentGenerator</managed-bean-name>
<managed-bean-class>com.xxxxx.alfresco.km.web.CustomListComponentGenerator</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>autoRefresh</property-name>
<value>false</value>
</managed-property>
<managed-property>
<property-name>communityConstraintsMap</property-name>
<value>#{CommunitySearchConstraintMap}</value>
</managed-property>
</managed-bean>
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="km:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Content Model</description>
<author></author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<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" />
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.xxxxx.com/model/km/content/1.0" prefix="km" />
</namespaces>
<constraints>
<constraint name="km:communityList" type="com.xxxxxxx.alfresco.km.constraints.CommunitySearchConstraint">
<parameter name="allowedValues">
<list>
</list>
</parameter>
<parameter name="caseSensitive"><value>true</value></parameter>
</constraint>
<constraint name="km:subcommunityList" type="com.xxxxxxx.alfresco.km.constraints.CommunitySearchConstraint">
<parameter name="allowedValues">
<list>
</list>
</parameter>
<parameter name="caseSensitive"><value>true</value></parameter>
</constraint>
<constraint name="km:subjectList" type="com.xxxxxxx.alfresco.km.constraints.CommunitySearchConstraint">
<parameter name="allowedValues">
<list>
</list>
</parameter>
<parameter name="caseSensitive"><value>true</value></parameter>
</constraint>
</constraints>
<types>
<!– Enterprise-wide generic document type –>
<type name="km:knowledgedoc">
<title>xxxxxxx Knowledge Document</title>
<parent>cm:content</parent>
<properties>
<property name="km:community">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
<constraints>
<constraint ref="km:communityList" />
</constraints>
</property>
<property name="km:subcommunity">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
<constraints>
<constraint ref="km:subcommunityList" />
</constraints>
</property>
<property name="km:subject">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
<constraints>
<constraint ref="km:subjectList" />
</constraints>
</property>
<property name="km:coauthor">
<type>d:text</type>
<mandatory>false</mandatory>
<multiple>false</multiple>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
<property name="km:status">
<type>d:text</type>
<default>false</default>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
<aspect>cm:versionable</aspect>
</mandatory-aspects>
</type>
</types>
</model>
03-23-2010 04:08 PM
<constraint name=”my:customConstraint” type=”org.alfresco.sample.constraints.LuceneSearchBasedListConstraint” >
<parameter name=”query”>
<value> TYPE:”{http://www.alfresco.org/model/content/1.0}content”
</value>
</parameter>
</constraint>
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.