From 96f42a2e0af1335a103ff87287f3d9e836131083 Mon Sep 17 00:00:00 2001 From: Radovan Semancik Date: Fri, 25 Sep 2015 18:14:49 +0200 Subject: [PATCH] Cleaning up the form schema a bit --- .../xml/ns/public/common/common-3.xsd | 89 ++++++------------- 1 file changed, 27 insertions(+), 62 deletions(-) diff --git a/infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd b/infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd index 0eaee3f92ce..cf2eb7bd777 100644 --- a/infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd +++ b/infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd @@ -13072,16 +13072,14 @@ - + Display characteristics of the form. - + List of form items. @@ -13117,12 +13115,11 @@ - - - + + + + + displayable form component position (if true, field/group/loop will be @@ -13154,65 +13151,42 @@ - Type override. Normally the field type will be - determined - by the type of backing item. This field can be used as - type + Type override. Normally the field type will be determined + by the type of backing item. This field can be used as type override if a different presenation is required. - + Name of the UI widget that should be used to display this item. - Normally, the widget will be chosen automatically based on the - type + Normally, the widget will be chosen automatically based on the type of the backing item (see "ref" element). The "widget" element can be - used to override this default behavior. It is used for default - included - types like text, label, combo, password, checkbox, etc. or class name - for + used to override this default behavior. It is used for default included + types like text, label, combo, password, checkbox, etc. or class name for custom implementation. - - - - - - This element is responsible for enabling/disabling the item. If the - expression - is not present or it returns true, then the item behaves normally. - When the expression evaluates to false then the item behaves as if - it is not there - at all. It will not be displayed, other expressions will be not - evaluated, etc. - - - + + + - + - + @@ -13227,8 +13201,7 @@ - + @@ -13258,44 +13231,36 @@ displayed value to real value --> - +

- A group of fields. The group is rendered in a such a way that it - will be obvious - that the fields belong together and form a a logical group (e.g. by - using box - with a border). This can be used to display value of complex - containers. + A group of fields. The group is rendered in a such a way that it will be obvious + that the fields belong together and form a a logical group (e.g. by using box + with a border). This can be used to display value of complex containers. But it may also be used to visualy group together a set of related properties that are not in the same container.

- The group is NOT meant to automatically generate fields for every - container item. + The group is NOT meant to automatically generate fields for every container item. Individual fields must be defined as sub-items of this group.

- If ref element is used it MUST point to PrismContainer. In that case - subitems of this + If ref element is used it MUST point to PrismContainer. In that case subitems of this group must point to the container value items.

The group may not have any ref element. In that case the subfields may - refer to any - property. + refer to any property.

- + List of group subitems.