|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.HtmlElements
public class HtmlElements
A utility class that provides methods for creating commonly used HTML elements.
| Method Summary | |
|---|---|
static Element |
createCssInclude(Connection conn,
java.lang.String href)
|
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.
public static Element createCssInclude(Connection conn,
java.lang.String href)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||