New screenlet widget. For details, refer to the xsd or the Jira issue - https://issues.apache.org/jira/browse/OFBIZ-1626.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@620699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2008-02-12 03:57:14 +00:00
parent 6cbe503a34
commit 82cef0d975
8 changed files with 508 additions and 16 deletions
+47
View File
@@ -838,6 +838,53 @@ under the License.
</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">