|
| Name | Type | Optional | Values | |
|---|---|---|---|---|
| COMPONENTNAME | STRING | Yes | ||
| VISIBILITY | Yes | PLAIN; READONLY; HIDDEN | ||
| SORTBUTTON | BOOLEAN | Yes | ||
| REFFIELD | STRING | Yes |
If set, this attributes indicates that the value of the field at hand must refer to an element of a collection somewhere within the current XML document. It is a way to implement referential integrity. If set, this attribute causes XMLBooster to generate a GUI component that will propose the various choices rather than requiring the user to type the keys verbatim. This attribute must be set as a couple Element.Field where Element is an element defined within the current meta-definition, and Field is one of this element's attributes, which must be a collection of some form for this reference to make any sense. At runtime, the code generated by XMLBooster will start at the current element, and visit its ancestors one by one, until an instance of Element is found. Then, the values are extracted from the Field attribute and proposed to the user for selection. |
|
| INDEX | BOOLEAN | Yes |
If set, this attributes indicates that the field must be used as index field for all GUI operation related to the current element. For instance, if a name field from a person element is marked as index field using this attribute, the values of this name field will be used when listing collections of persons. If more than one field is marked as an index field, only the first one is considered. |
|
| FIXEDDIVIDERLOCATION | INTEGER | Yes | ||
| DIVIDERLOCATION | INTEGER | Yes | ||
| RESIZEWEIGHT | STRING | Yes |
|
<!ELEMENT FIELDGUIINFO
(BEFORECREATION?, EXTRACTKEY?, EDITABLE?, VISIBLE?, (GUIACTION| GUIACTIONREF)*)
>
<!ATTLIST FIELDGUIINFO
COMPONENTNAME CDATA #IMPLIED
VISIBILITY (PLAIN|READONLY|HIDDEN) #IMPLIED
SORTBUTTON (TRUE|YES|yes|Y|y|ON|On|on|true|True|1|FALSE|NO|no|N|n|OFF|Off|off|false|False|0) #IMPLIED
REFFIELD CDATA #IMPLIED
INDEX (TRUE|YES|yes|Y|y|ON|On|on|true|True|1|FALSE|NO|no|N|n|OFF|Off|off|false|False|0) #IMPLIED
FIXEDDIVIDERLOCATION CDATA #IMPLIED
DIVIDERLOCATION CDATA #IMPLIED
RESIZEWEIGHT CDATA #IMPLIED
>