You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/02/15 10:38:27 UTC
svn commit: r627983 - /ofbiz/site/dtds/widget-screen.xsd
Author: hansbak
Date: Fri Feb 15 01:38:25 2008
New Revision: 627983
URL: http://svn.apache.org/viewvc?rev=627983&view=rev
Log:
update widget xsl for 'screenlet'
Modified:
ofbiz/site/dtds/widget-screen.xsd
Modified: ofbiz/site/dtds/widget-screen.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-screen.xsd?rev=627983&r1=627982&r2=627983&view=diff
==============================================================================
--- ofbiz/site/dtds/widget-screen.xsd (original)
+++ ofbiz/site/dtds/widget-screen.xsd Fri Feb 15 01:38:25 2008
@@ -838,6 +838,53 @@
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
+ <xs:element name="screenlet" substitutionGroup="AllWidgets">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="AllWidgets"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="attlist.screenlet"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.screenlet">
+ <xs:attribute type="xs:string" name="title">
+ <xs:annotation><xs:documentation>Title text to be placed in the screenlet title bar.</xs:documentation></xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="id">
+ <xs:annotation><xs:documentation>Collapsible screenlets must have a name or ID.</xs:documentation></xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="name">
+ <xs:annotation><xs:documentation>Collapsible screenlets must have a name or ID.</xs:documentation></xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="collapsible" default="false">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="padded" default="true">
+ <xs:annotation><xs:documentation>When set to true, screenlet content will be padded. Defaults to true.</xs:documentation></xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="navigation-menu-name">
+ <xs:annotation><xs:documentation>Name of the screenlet include-menu sub element that will be used for screenlet navigation.</xs:documentation></xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="navigation-form-name">
+ <xs:annotation>
+ <xs:documentation>Name of the screenlet include-form sub element that will be used for screenlet navigation. The form's pagination menu will be included in the screenlet title bar.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="tab-menu-name">
+ <xs:annotation><xs:documentation>Name of the screenlet include-menu sub element that will be used for the screenlet tab bar.</xs:documentation></xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
<!-- ================ WIDGETS - Includers ================ -->
<xs:element name="content" substitutionGroup="AllWidgets">