Author: bibryam
Date: Sat Oct 31 22:20:53 2009
New Revision: 831607
URL:
http://svn.apache.org/viewvc?rev=831607&view=revLog:
Added parameter element declaration to tree links.
Modified:
ofbiz/trunk/framework/widget/dtd/widget-tree.xsd
Modified: ofbiz/trunk/framework/widget/dtd/widget-tree.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-tree.xsd?rev=831607&r1=831606&r2=831607&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/dtd/widget-tree.xsd (original)
+++ ofbiz/trunk/framework/widget/dtd/widget-tree.xsd Sat Oct 31 22:20:53 2009
@@ -143,6 +143,7 @@
<xs:element name="link">
<xs:complexType>
<xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter"/>
<xs:element minOccurs="0" ref="image"/>
</xs:sequence>
<xs:attributeGroup ref="attlist.link"/>
@@ -192,6 +193,16 @@
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:attributeGroup ref="attlist.parameter"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.parameter">
+ <xs:attribute type="xs:string" name="param-name" use="required"/>
+ <xs:attribute type="xs:string" name="from-field"/>
+ <xs:attribute type="xs:string" name="value"/>
+ </xs:attributeGroup>
<xs:element name="image">
<xs:complexType mixed="true">
<xs:attributeGroup ref="attlist.image"/>