|
|
|
@ -30,6 +30,7 @@ |
|
|
|
<xs:attribute name="caption-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="style-name-field" type="xs:string" use="optional"/> |
|
|
|
<xs:attribute name="description-field" type="xs:string" use="optional"/> |
|
|
|
<xs:attributeGroup ref="datasource-basic-attrs" /> |
|
|
|
</xs:complexType> |
|
|
|
@ -81,12 +82,40 @@ |
|
|
|
</xs:complexType> |
|
|
|
|
|
|
|
<!-- 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:sequence> |
|
|
|
<xs:choice> |
|
|
|
<xs:element name="sql-datasource" type="calendar-datasource-with-builder" minOccurs="1" maxOccurs="1" /> |
|
|
|
</xs:choice> |
|
|
|
<xs:element name="events" type="calendarEvents" minOccurs="0" maxOccurs="1" /> |
|
|
|
<xs:element name="bind" type="DBMultiBind" minOccurs="0" maxOccurs="1" /> |
|
|
|
</xs:sequence> |
|
|
|
<xs:attribute name="id" type="xs:string" use="required" /> |
|
|
|
<xs:attributeGroup ref="basicElement" /> |
|
|
|
@ -101,6 +130,7 @@ |
|
|
|
</xs:attribute> |
|
|
|
<xs:attribute name="showViewTypeButtons" 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> |
|
|
|
|
|
|
|
<!-- Definicao de widgets CORE, dentro do Namespace do Vitruvio --> |
|
|
|
|