Attributes |
Name | Required | Request-time | Type | Description |
id | false | true | java.lang.String |
expose id, enables interaction with JavaScript
|
fieldName | true | true | java.lang.String |
name of the field this tag references to
|
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
|
hidden | false | true | java.lang.String |
Determines if the text field should be
hidden or displayed.
|
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
inconjunction with dbForm's I18N support.
|
overrideValue | false | true | java.lang.String |
Defines the text field's default value. When
this attribute is set,the value retrieved
from the database is ignored.
|
accessKey | false | true | java.lang.String |
The keyboard character used to move focus
immediately to thiselement.
|
maxlength | false | true | java.lang.String |
Maximum length of the string to be entered
|
readOnly | false | true | java.lang.String |
Rendering of read-only html widgets
WARNING: This is not terribly secure as it
becomes editable if javascript is disabled
in the browser. A More secure option is not
placing an update button on your form.
|
onBlur | false | true | java.lang.String |
JavaScript event handler executed when this
element loses inputfocus.
|
onChange | false | true | java.lang.String |
JavaScript event handler executed when this
element loses inputfocus and its value has
changed.
|
onClick | false | true | java.lang.String |
JavaScript event handler executed when this
element receives amouse click.
|
onDblClick | false | true | java.lang.String |
JavaScript event handler executed when this
element receives amouse double click.
|
onFocus | false | true | java.lang.String |
JavaScript event handler executed when this
element receives inputfocus.
|
onKeyDown | false | true | java.lang.String |
JavaScript event handler executed when this
element has focus and akey is depressed.
|
onKeyPress | false | true | java.lang.String |
JavaScript event handler executed when this
element has focus and akey is depressed and
released.
|
onKeyUp | false | true | java.lang.String |
JavaScript event handler executed when this
element has focus and akey is released.
|
onMouseDown | false | true | java.lang.String |
JavaScript event handler executed when this
element is under the mousepointer and a mouse
button is depressed.
|
onMouseMove | false | true | java.lang.String |
JavaScript event handler executed when this
element is under themouse pointer and the
pointer is moved.
|
onMouseOut | false | true | java.lang.String |
JavaScript event handler executed when this
element was under themouse pointer but the
pointer was moved outside the element.
|
onMouseOver | false | true | java.lang.String |
JavaScript event handler executed when this
element was not underthe mouse pointer but the
pointer is moved inside the element.
|
onMouseUp | false | true | java.lang.String |
JavaScript event handler executed when this
element is under themouse pointer and a mouse
button is released.
|
onSelect | false | true | java.lang.String |
JavaScipt event hanlder executed when the user
selects some text
|
size | false | true | java.lang.String | Size of the input field |
style | false | true | java.lang.String |
CSS styles to be applied to this HTML element.
|
styleClass | false | true | java.lang.String |
CSS stylesheet class to be applied to this HTML
element.
|
readOnlyStyleClass | false | true | java.lang.String |
CSS stylesheet class to be applied to this HTML
element (read-only mode).
|
title | false | true | java.lang.String |
this defines the "title" attribute for the HTML4
tag.
|
tabIndex | false | true | java.lang.String |
The tab order (ascending positive integers) for
this element.
|
useJsCalendar | false | true | java.lang.String |
Place small calendar icon after input field.
Clicking that icon will popup a JavaScript
calendar that can be used to set a new value for
the field. Some preparations have to be done,
the calendar must be copied into the web
applications and must be included in current
page. See dbforms manual for details.
|
jsCalendarDateFormat | false | true | java.lang.String |
Subpatterns inside date formats have sometimes
different meanings in Java and inside JavaScript
calendar. For some date formats it may be
neccessary to explicitely set a date format to
the calendar that corresponds to the used date
format inside dbforms application. See dbforms
manual for details.
|
classicCalendar | false | true | java.lang.String |
Determinate whether the classic javascript
calendar should be used.[may
be deprecated soon]
|