-
Method Summary
list of MIME types for file upload (csv)
accessibility key character
for radio buttons and check boxes
unavailable in this context
use server-side image map
max chars for text fields
the element lost the focus
the element value was changed
the element got the focus
specific to each type of field
position in tabbing order
what kind of widget is needed. default is "text".
Specify for radio buttons and checkboxes
-
Method Details
-
-
$name
submit as part of form
- Parameters:
cdata - the content of the element.
- Returns:
- the current element builder
-
$value
Specify for radio buttons and checkboxes
- Parameters:
cdata - the content of the element.
- Returns:
- the current element builder
-
$checked
for radio buttons and check boxes
- Returns:
- the current element builder
-
$disabled
unavailable in this context
- Returns:
- the current element builder
-
$readonly
for text and passwd
- Returns:
- the current element builder
-
$size
specific to each type of field
- Parameters:
cdata - the content of the element.
- Returns:
- the current element builder
-
$maxlength
max chars for text fields
- Parameters:
length - max chars length.
- Returns:
- the current element builder
-
$src
for fields with images
- Parameters:
uri - the URI.
- Returns:
- the current element builder
-
$alt
short description
- Parameters:
cdata - the content of the element.
- Returns:
- the current element builder
-
$ismap
use server-side image map
- Returns:
- the current element builder
-
$tabindex
position in tabbing order
- Parameters:
index - the index
- Returns:
- the current element builder
-
$accesskey
accessibility key character
- Parameters:
cdata - the content of the element.
- Returns:
- the current element builder
-
$onfocus
the element got the focus
- Parameters:
script - to invoke.
- Returns:
- the current element builder
-
$onblur
the element lost the focus
- Parameters:
script - to invoke.
- Returns:
- the current element builder
-
$onselect
some text was selected
- Parameters:
script - to invoke.
- Returns:
- the current element builder
-
$onchange
the element value was changed
- Parameters:
script - to invoke.
- Returns:
- the current element builder
-
$accept
list of MIME types for file upload (csv)
- Parameters:
contentTypes - content types.
- Returns:
- the current element builder