The DataType node contains UIType and XMLType nodes. For the Presentation Framework, the attributes specified in UIType override those specified in XMLType, which in turn override those specified in DataType.
The following table lists which nodes are supported by specific datatype attributes.
Attribute | Description | Nodes Supported In |
---|---|---|
Name | Unique identifier of the abstract data type. | DataType Type |
Type | Can take values NUMBER, VARCHAR2, DATE, DATETIME, QUANTITY. If Type is selected as QUANTITY, it may or may not take decimal values, based on the default value specified in the yfs.install.displaydoublequantity property in the yfs.properties file. Note: To modify this property, add an entry
for it in the INSTALL_DIR/properties/customer_overrides.properties
file.
|
DataType XMLType UIType |
Size | If specified in the DataType node, it is taken as the maximum number of characters that can be entered in the input boxes. If specified the UIType node it is multiplied by 5, and the result is taken as the number of pixels to use for as the length of the input box. |
DataType XMLType UIType |
PpcSize | If specified in the DataType node, it is taken as the maximum number of characters that can be entered in the input boxes in the RF UI screens. If specified the UIType node it is multiplied by 5, and the result is taken as the number of pixels to use for as the length of the input box in the RF UI screens. In instances where the PpcSize attribute is not specified, the Size attribute is considered. |
DataType XMLType UIType |
ZeroAllowed | Used only for numeric fields. | DataType XMLType UIType |
UITableSize | The value specified here is multiplied by 5 and the result is used as the width in pixels. This specific attribute is available only upon special request. Use the getUITableSize() JSP function to eve this value. |
UIType |
NegativeAllowed | Used only for numeric fields. | DataType XMLType UIType |