Add initial support for MVC namespace view resolution config

<mvc:view-resolution /> now allows to configure easily
view resolvers.

Issue: SPR-7093
This commit is contained in:
Siva Prasad Valluru
2013-12-15 18:15:04 +05:30
committed by Rossen Stoyanchev
parent b318880661
commit 92402e7715
6 changed files with 260 additions and 1 deletions

View File

@@ -515,5 +515,33 @@
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="view-resolvers" >
<xsd:complexType>
<xsd:all minOccurs="0">
<xsd:element name="jsp" minOccurs="0" >
<xsd:complexType>
<xsd:attribute name="prefix" />
<xsd:attribute name="suffix" />
</xsd:complexType>
</xsd:element>
<xsd:element name="tiles" minOccurs="0" >
<xsd:complexType>
<xsd:attribute name="definitions" />
<xsd:attribute name="viewClass" use="optional" />
</xsd:complexType>
</xsd:element>
<xsd:element name="bean-name" minOccurs="0" />
<xsd:element name="freemarker" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="prefix" />
<xsd:attribute name="suffix" />
<xsd:attribute name="templateLoaderPath" />
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>