Author: jleroux
Date: Wed Oct 24 08:31:03 2018 New Revision: 1844736 URL: http://svn.apache.org/viewvc?rev=1844736&view=rev Log: Updates dtds on site Modified: ofbiz/site/dtds/site-conf.xsd ofbiz/site/dtds/widget-theme.xsd Modified: ofbiz/site/dtds/site-conf.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/site-conf.xsd?rev=1844736&r1=1844735&r2=1844736&view=diff ============================================================================== --- ofbiz/site/dtds/site-conf.xsd (original) +++ ofbiz/site/dtds/site-conf.xsd Wed Oct 24 08:31:03 2018 @@ -472,6 +472,7 @@ under the License. request-redirect, request-redirect-noparam, url, + url-redirect, cross-redirect </xs:documentation> </xs:annotation> @@ -552,6 +553,13 @@ under the License. </xs:documentation> </xs:annotation> </xs:enumeration> + <xs:enumeration value="url-redirect"> + <xs:annotation> + <xs:documentation> + Works like URL but you can also pass redirected parameters. + </xs:documentation> + </xs:annotation> + </xs:enumeration> <xs:enumeration value="cross-redirect"> <xs:annotation> <xs:documentation> Modified: ofbiz/site/dtds/widget-theme.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-theme.xsd?rev=1844736&r1=1844735&r2=1844736&view=diff ============================================================================== --- ofbiz/site/dtds/widget-theme.xsd (original) +++ ofbiz/site/dtds/widget-theme.xsd Wed Oct 24 08:31:03 2018 @@ -27,6 +27,7 @@ under the License. <xs:element minOccurs="0" maxOccurs="1" ref="theme-properties"/> <xs:element minOccurs="0" maxOccurs="1" ref="templates"/> <xs:element minOccurs="0" maxOccurs="1" ref="common-screens"/> + <xs:element minOccurs="0" maxOccurs="1" ref="common-menus"/> </xs:sequence> <xs:attribute type="xs:string" name="name" use="required" /> </xs:complexType> @@ -201,11 +202,22 @@ under the License. </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="root-decorator"> + <xs:element name="common-menus"> + <xs:annotation><xs:documentation> + List the location of each common menus that the theme implement + </xs:documentation></xs:annotation> <xs:complexType> <xs:sequence> - <xs:element minOccurs="1" maxOccurs="unbounded" ref="screen" /> + <xs:element ref="root-decorator" /> </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="root-decorator"> + <xs:complexType> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="screen"/> + <xs:element maxOccurs="unbounded" ref="menu"/> + </xs:choice> <xs:attribute type="xs:string" name="default-location" use="optional" /> </xs:complexType> </xs:element> @@ -229,6 +241,12 @@ under the License. <xs:complexType> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="location" use="optional"/> + </xs:complexType> + </xs:element> + <xs:element name="menu"> + <xs:complexType> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="location" use="optional"/> </xs:complexType> </xs:element> |
Free forum by Nabble | Edit this page |