Author: jaz
Date: Wed Feb 14 07:09:10 2007
New Revision: 507565
URL:
http://svn.apache.org/viewvc?view=rev&rev=507565Log:
updated menu widget schema
Modified:
ofbiz/site/dtds/widget-menu.xsd
Modified: ofbiz/site/dtds/widget-menu.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-menu.xsd?view=diff&rev=507565&r1=507564&r2=507565==============================================================================
--- ofbiz/site/dtds/widget-menu.xsd (original)
+++ ofbiz/site/dtds/widget-menu.xsd Wed Feb 14 07:09:10 2007
@@ -368,6 +368,25 @@
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="if-service-permission" substitutionGroup="AllConditionals">
+ <xs:complexType>
+ <xs:attributeGroup ref="attlist.if-service-permission"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.if-service-permission">
+ <xs:attribute type="xs:string" name="service-name" use="required"/>
+ <xs:attribute type="xs:string" name="resource-description" use="optional"/>
+ <xs:attribute name="main-action" use="optional">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="CREATE"/>
+ <xs:enumeration value="UPDATE"/>
+ <xs:enumeration value="DELETE"/>
+ <xs:enumeration value="VIEW"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
<xs:element name="if-has-permission" substitutionGroup="AllConditionals">
<xs:complexType>
<xs:attributeGroup ref="attlist.if-has-permission"/>