AlfrescoComponents
Un article de Bluexml.com.
| | | |
|---|
| Languages : | English |
BlueXML has developed a set of Alfresco Component to improve the quality of Alfresco. The main goal is to add new features in the web client. This components make available to all and are free. Here is a small description of this components :
- Tabbed Property Sheet Component to improve the view of content
- BlueXML Association Editor Component to improve the edit and the view of association
- BlueXML Browse Component to improve the view of content (icons, names...)
- BlueXML Group Management Component to make possible to manage groups by web service
Sommaire |
Tabbed Property Sheet Component
After, you can use the component. By example :
<config evaluator="node-type" condition="model:org_bluexml_alfresco_model_Report">
<property-sheet>
<show-property name="model:org_bluexml_alfresco_model_Report_date"/>
<show-association name="model:org_bluexml_alfresco_model_Report_approvedBy"/>
</property-sheet>
<tab-panels orientation="vertical">
<tab-panel id="tab:model:Report"
label-id="org_bluexml_alfresco_model_Report_title"
description-id="org_bluexml_alfresco_model_Report_description">
<property name="model:org_bluexml_alfresco_model_Report_date" />
<property name="model:org_bluexml_alfresco_model_Report_approvedBy"/>
</tab-panel>
<tab-panel id="tab:contentInformation" label="Content information" description="Content Information">
<property name="name"/>
<property name="title"/>
<property name="description"/>
<property name="author"/>
</tab-panel>
</tab-panels>
</config>
BlueXML Association Editor Component
BlueXML Browse Component
<managed-bean>
<managed-bean-name>BrowseBean</managed-bean-name>
<managed-bean-class>org.alfresco.bluexml.CustomBrowseBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>customTypes</property-name>
<list-entries>
<value>{http://www.bluexml.com/model/content/model/1.0}org_bluexml_alfresco_model_Meeting</value>
<value>{http://www.bluexml.com/model/content/model/1.0}org_bluexml_alfresco_model_Contact</value>
<value>{http://www.bluexml.com/model/content/model/1.0}org_bluexml_alfresco_model_Report</value>
</list-entries>
</managed-property>
<managed-property>
<property-name>viewByType</property-name>
<map-entries>
<map-entry>
<key>{http://www.bluexml.com/model/content/model/1.0}org_bluexml_alfresco_model_Contact</key>
<value>normal:firstName,lastName</value>
</map-entry>
</map-entries>
</managed-property>
<managed-property>
<property-name>navigator</property-name>
<value>#{NavigationBean}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>searchService</property-name>
<value>#{SearchService}</value>
</managed-property>
<managed-property>
<property-name>lockService</property-name>
<value>#{LockService}</value>
</managed-property>
<managed-property>
<property-name>dictionaryService</property-name>
<value>#{DictionaryService}</value>
</managed-property>
<managed-property>
<property-name>fileFolderService</property-name>
<value>#{FileFolderService}</value>
</managed-property>
</managed-bean>
BlueXML Group Management Component
It's possible to organize the tree of groups by the models. To use the generation, Alfresco must provide the possibility to manage groups by a web service. Per example, we can invoke the service with this URL :
http://localhost:8080/alfresco/ajax/invoke/GroupManagementBean.addRootGroup?rootGroupName=MY_ROOT_GROUP http://localhost:8080/alfresco/ajax/invoke/GroupManagementBean.addGroup?parentGroupName=MY_PARENT_GROUP&childGroupName=MY_CHILD_GROUP



