Files
alfresco-community-repo/source/test-resources/xforms/tests/rendering-engine/include-test.xsd
Gavin Cornwell e13b3f6414 Merged V3.2 to HEAD
15292: Solution for MOB-536 (Remove form-include virtualization server dependencies from Web Forms)
   15299: Fix for ETHREEOH-896 and partial fix for ETHREEOH-1923: XForms layout issues
   15501: MOB-947: Remove virtualisation server dependency from the TinyMCE control used in web forms. Preview URL has been replaced with a call to the 'avm' webscript.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-14 10:26:07 +00:00

27 lines
1.4 KiB
XML

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:annotation>
<xs:documentation>
This form demonstrates methods of including templates from templates. To set up configure the form like this:
configure include-test.xsl and include-test.ftl as the rendering engine templates for the form.
upload include-test-data-dictionary.* into the data dictionary folder created for the form (e.g. Data Dictionary/Web Forms/include-test
upload include-test-webapp.* into the root of your webapp directory within the web project.
An example of including the output of a webscript can also be shown by creating a separate form using this schema
and the include-webscript-test.xsl and include-webscript-test.ftl files as the rendering engine templates.
When the rendering template gets executed, it should be able to include all auxilliary xsls and ftls.
</xs:documentation>
</xs:annotation>
<xs:element name="include-test">
<xs:complexType>
<xs:sequence>
<xs:element name="in-template" type="xs:normalizedString" default="in template"/>
<xs:element name="in-data-dictionary" type="xs:normalizedString" default="in data dictionary"/>
<xs:element name="in-webapp" type="xs:normalizedString" default="in webapp"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>