|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.HtmlElements
A utility class that provides methods for creating commonly used HTML elements.
Method Summary | |
static Element |
createHiddenField(java.lang.String name,
java.lang.String value)
Creates a hidden form field with the provided name and value. |
static Element |
createScriptInclude(Connection conn,
Service service)
Creates a script element to include an external script file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Element createHiddenField(java.lang.String name, java.lang.String value)
name
- The name of the form field.value
- The initial value of the form field. If the value
is null, the hidden field will be rendered without a
"value" attribute. If a value is provided, it
must be in application/x-www-form-urlencoded
MIME format.
public static Element createScriptInclude(Connection conn, Service service)
conn
- The connection to which the document will be
rendered.service
- The service containing the JavaScript code to be
included.
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |