Interface HamletSpec.FORM
- All Superinterfaces:
HamletSpec.__,HamletSpec._Block,HamletSpec._Child,HamletSpec._FieldSet,HamletSpec._Script,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.Heading,HamletSpec.I18nAttrs,HamletSpec.Listing,HamletSpec.Preformatted
- All Known Implementing Classes:
Hamlet.FORM
- Enclosing class:
- HamletSpec
public static interface HamletSpec.FORM
extends HamletSpec.Attrs, HamletSpec._Child, HamletSpec._Script, HamletSpec._Block, HamletSpec._FieldSet
-
Method Summary
Modifier and TypeMethodDescriptionlist of MIME types for file upload$accept_charset(String cdata) (space and/or comma separated) list of supported charsetsserver-side form handlercontentype for "POST" method.$method(HamletSpec.Method method) HTTP method used to submit the formname of form for scriptingthe form was resetthe form was submittedMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Block
__, address, address, blockquote, bq, div, div, dl, dl, hr, hr, p, p, table, tableMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._FieldSet
fieldset, fieldsetMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Script
script, scriptMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.CoreAttrs
$class, $id, $style, $titleMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.EventsAttrs
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmousemove, $onmouseout, $onmouseover, $onmouseupMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Heading
h1, h1, h1, h2, h2, h2, h3, h3, h3, h4, h4, h4, h5, h5, h5, h6, h6, h6Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.I18nAttrs
$dir, $langMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Listing
ol, ol, ul, ulMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Preformatted
pre, pre
-
Method Details
-
$action
server-side form handler- Parameters:
uri- the URI.- Returns:
- the current element builder
-
$method
HTTP method used to submit the form- Parameters:
method- method.- Returns:
- the current element builder
-
$enctype
contentype for "POST" method. The default is "application/x-www-form-urlencoded". Use "multipart/form-data" for input type=file- Parameters:
enctype- enctype.- Returns:
- the current element builder
-
$accept
list of MIME types for file upload- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$name
name of form for scripting- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$onsubmit
the form was submitted- Parameters:
script- to invoke.- Returns:
- the current element builder
-
$onreset
the form was reset- Parameters:
script- to invoke.- Returns:
- the current element builder
-
$accept_charset
(space and/or comma separated) list of supported charsets- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-