Browse Source

Update XSDs for branch master - Build 12

master
Jenkins CI 1 month ago
parent
commit
69bb6cb928
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      vitruvio-form-widgets.xsd

+ 30
- 0
vitruvio-form-widgets.xsd View File

@ -30,6 +30,7 @@
<xs:attribute name="caption-field" type="xs:string" use="required"/> <xs:attribute name="caption-field" type="xs:string" use="required"/>
<xs:attribute name="start-date-field" type="xs:string" use="required"/> <xs:attribute name="start-date-field" type="xs:string" use="required"/>
<xs:attribute name="end-date-field" type="xs:string" use="required"/> <xs:attribute name="end-date-field" type="xs:string" use="required"/>
<xs:attribute name="style-name-field" type="xs:string" use="optional"/>
<xs:attribute name="description-field" type="xs:string" use="optional"/> <xs:attribute name="description-field" type="xs:string" use="optional"/>
<xs:attributeGroup ref="datasource-basic-attrs" /> <xs:attributeGroup ref="datasource-basic-attrs" />
</xs:complexType> </xs:complexType>
@ -81,12 +82,40 @@
</xs:complexType> </xs:complexType>
<!-- Calendar --> <!-- Calendar -->
<xs:complexType name="DBMultiBind">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:choice>
<xs:element name="parameter">
<xs:complexType>
<xs:attribute name="field-ref" type="xs:string" use="optional" />
<xs:attribute name="context-value" use="optional" >
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PROCESS_INSTANCE_ID" />
<xs:enumeration value="PROCESS_BUSINESS_KEY" />
<xs:enumeration value="TASK_ID" />
<xs:enumeration value="USER_LOGIN" />
<xs:enumeration value="USER_COMPANYS" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="parameterName" type="xs:string" use="required" />
<xs:attribute name="defaultValue" type="xs:string" use="required" />
<xs:attributeGroup ref="value-type-enum" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="refreshOnChange" type="xs:boolean" />
</xs:complexType>
<xs:complexType name="CalendarWidget"> <xs:complexType name="CalendarWidget">
<xs:sequence> <xs:sequence>
<xs:choice> <xs:choice>
<xs:element name="sql-datasource" type="calendar-datasource-with-builder" minOccurs="1" maxOccurs="1" /> <xs:element name="sql-datasource" type="calendar-datasource-with-builder" minOccurs="1" maxOccurs="1" />
</xs:choice> </xs:choice>
<xs:element name="events" type="calendarEvents" minOccurs="0" maxOccurs="1" /> <xs:element name="events" type="calendarEvents" minOccurs="0" maxOccurs="1" />
<xs:element name="bind" type="DBMultiBind" minOccurs="0" maxOccurs="1" />
</xs:sequence> </xs:sequence>
<xs:attribute name="id" type="xs:string" use="required" /> <xs:attribute name="id" type="xs:string" use="required" />
<xs:attributeGroup ref="basicElement" /> <xs:attributeGroup ref="basicElement" />
@ -101,6 +130,7 @@
</xs:attribute> </xs:attribute>
<xs:attribute name="showViewTypeButtons" type="xs:boolean" use="optional" /> <xs:attribute name="showViewTypeButtons" type="xs:boolean" use="optional" />
<xs:attribute name="showNavigationButtons" type="xs:boolean" use="optional" /> <xs:attribute name="showNavigationButtons" type="xs:boolean" use="optional" />
<xs:attribute name="showRefreshButton" type="xs:boolean" use="optional" />
</xs:complexType> </xs:complexType>
<!-- Definicao de widgets CORE, dentro do Namespace do Vitruvio --> <!-- Definicao de widgets CORE, dentro do Namespace do Vitruvio -->


Loading…
Cancel
Save