<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">


	<component>
    <key>org.exoplatform.services.cms.templates.TemplateService</key>
    <type>org.exoplatform.services.cms.templates.impl.TemplateServiceImpl</type>    
  </component>
    
   <external-component-plugins>
    <target-component>org.exoplatform.services.cms.templates.TemplateService</target-component>
      <component-plugin>
        <name>addTemplates</name>
        <set-method>addTemplates</set-method>
        <type>org.exoplatform.services.cms.templates.impl.TemplatePlugin</type>
        <init-params>
	        <value-param>
	        	<name>autoCreateInNewRepository</name>
	        	<value>true</value>
	        </value-param>
	        <value-param>
	        	<name>storedLocation</name>
	        	<value>war:/conf/dms-extension/dms/artifacts/templates</value>
	        </value-param>
          <object-param>
            <name>template.configuration</name>
            <description>configuration for the localtion of templates to inject in jcr</description>
            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig">            	
              <field  name="nodeTypes">
                <collection type="java.util.ArrayList">               
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>nt:file</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>File</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                      
                          </value>
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/views/admin_view.gtmpl</string></field>
                              <field name="roles"><string>*:/platform/administrators</string></field>                
                            </object>                      
                          </value>
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                      
                          </value>
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/dialogs/admin_dialog.gtmpl</string></field>
                              <field name="roles"><string>*:/platform/administrators</string></field>                
                            </object>                      
                          </value>                      
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/file/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:article</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Article</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/article/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/article/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/article/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/article/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                                          
                    </object>
                  </value>                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:event</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Event</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/event/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/event/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/event/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/event/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                                          
                    </object>
                  </value>                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:mail</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Mail</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/mail/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/mail/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:podcast</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Podcast</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/podcast/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value> 
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/podcast/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                               
                        </collection>
                      </field>                                    
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/podcast/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/podcast/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>
                    </object>
                  </value>             
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:addMetadataAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Add Metadata Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/addMetadata/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                          
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/addMetadata/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                        
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:sendMailAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Send Mail Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/sendMail/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                          
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/sendMail/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                        
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:transformBinaryToTextAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Transform Binary to Text Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/transformBinaryToText/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/transformBinaryToText/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>
                                                                         
                        </collection>
                      </field>                                    
                    </object>
                  </value>                                                        
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:createRSSFeedAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Rss Feed Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/rss/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value> 
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/rss/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                               
                        </collection>
                      </field>                                    
                    </object>
                  </value>                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:getMailAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Get Mail Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/getMail/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value> 
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/getMail/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                               
                        </collection>
                      </field>                                    
                    </object>
                  </value>                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:businessProcessModel</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Business Process Model Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">
                              <field name="templateFile"><string>/businessProcess/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>
                            </object>
                          </value>
                        </collection>
                      </field>
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">
                              <field name="templateFile"><string>/businessProcess/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>
                            </object>
                          </value>
                        </collection>
                      </field>
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:enableVersioning</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Enable Versioning </string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/versioning/enable-versioning/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/versioning/enable-versioning/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:autoVersioning</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Automation Versioning </string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/versioning/auto-versioning/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/versioning/auto-versioning/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:sample</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Sample node</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/sample/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value> 
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/sample/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                               
                        </collection>
                      </field> 
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/sample/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/sample/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                                         
                    </object>
                  </value>  
                 <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>rma:filePlan</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>File Plan</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/filePlan/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                               
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/filePlan/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>      
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/filePlan/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/filePlan/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                              
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>kfx:document</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Kofax document</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">
                              <field name="templateFile"><string>/kofax/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>
                            </object>
                          </value>
                        </collection>
                      </field>
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">
                              <field name="templateFile"><string>/kofax/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>
                            </object>
                          </value>
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/kofax/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/kofax/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                      
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field name="nodetypeName"><string>mix:votable</string></field>
                      <field name="documentTemplate"><boolean>false</boolean></field>
                      <field name="label"><string>Vote Info</string></field>
                      <field name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/vote/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/vote/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/vote/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                                       
                    </object>
                  </value>
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field name="nodetypeName"><string>exo:comments</string></field>
                      <field name="documentTemplate"><boolean>false</boolean></field>
                      <field name="label"><string>Comments Info</string></field>
                      <field name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/comment/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/comment/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/comment/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                  
                    </object>
                  </value>
                  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>nt:resource</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Exo data</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/exodata/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                            
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/exodata/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/exodata/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                                           
                    </object>
                  </value>  
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:taxonomyAction</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Add taxonomy Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/addTaxonomy/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                                          
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/script/addTaxonomy/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                        
                        </collection>
                      </field>                                    
                    </object>
                  </value>

	                <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:accessibleMedia</string></field>
                      <field  name="documentTemplate"><boolean>true</boolean></field>
                      <field  name="label"><string>Accessible Media</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/accessibleMedia/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                      
                          </value>
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>                    
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/accessibleMedia/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                      
                          </value>
                        </collection>
                      </field>
                      <field  name="referencedSkin">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/accessibleMedia/skins/Stylesheet-lt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/accessibleMedia/skins/Stylesheet-rt.css</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                                                   
                          </value>  
                        </collection>
                      </field>                                    
                    </object>
                  </value>    
                                                      
                </collection>
              </field>
            </object>
          </object-param>
        </init-params>       
      </component-plugin>
      <component-plugin>
	      <name>FilterContentTypeFolder</name>
	      <set-method>addContentTypeFilterPlugin</set-method>
	      <type>org.exoplatform.services.cms.templates.ContentTypeFilterPlugin</type>
	      <description>this plugin is used to filter node type for folder</description>
	      <init-params>	        
          <object-param>
            <name>nt:unstructured</name>
            <description>allow all document node type for this folder</description>
            <object type="org.exoplatform.services.cms.templates.ContentTypeFilterPlugin$FolderFilterConfig">
            	<field  name="folderType"><string>nt:unstructured</string></field>            	
            </object>
           </object-param>
           <object-param>
            <name>nt:folder</name>
            <description>allow all document node type for this folder</description>
            <object type="org.exoplatform.services.cms.templates.ContentTypeFilterPlugin$FolderFilterConfig">
            	<field  name="folderType"><string>nt:folder</string></field>            	
            </object>
           </object-param>
         </init-params>        	      
    	</component-plugin>
  </external-component-plugins>
  
</configuration>
