Attributes |
Name | Required | Request-time | Type | Description |
fieldName | true | true | java.lang.String |
name of the field this tag references to
|
maxlength | false | true | java.lang.String |
Set a limit to the number of characters
visible
|
nullFieldValue | false | true | java.lang.String |
If the value (retrieved from the database)
is null, allow the user to replace the text
to display by a custom value. May be used in
conjunction with dbForm's I18N support.
|
pattern | false | true | java.lang.String |
When dealing with numeric or date/time values,
you could use the Java API to format the output
of the text field expressions yourself using the
format attribute. But there is a more convenient
way to do it: by using the pattern attribute.
The value you should supply to this attribute is
the same that you would supply if it were for
you to format the value using either the
java.text.DecimalFormat class or
java.text.SimpleDateFormat class, depending on
the type of value to format. In fact, what the
engine does is to instantiate the
java.text.DecimalFormat class if the text field
expression returns subclasses of the
java.lang.Number class or to instantiate the
java.text.SimpleDataFormat if the text field
expression return java.util.Date or
java.sql.Timestamp objects. For more detail
about the syntax of this pattern attribute,
check the Java API documentation for those two
classes: java.text.DecimalFormat and
java.text.SimpleDateFormat.
|
customFormatter | false | true | java.lang.String |
The name of a formatting instance registered
previously by using the setCustomFormatter
tag
|
styleClass | false | true | java.lang.String |
CSS stylesheet class to be applied. This is done
adding a SPAN element that contains the text.
|
title | false | true | java.lang.String |
this defines the "title" attribute for the HTML4
tag.
|