| 
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--weblogic.html.HtmlElement
        |
        +--weblogic.html.ElementWithAttributes
              |
              +--weblogic.html.MultiPartElement
                    |
                    +--weblogic.html.FormElement
FormElement objects are used to set and get attributes customarily used in the HTML FORM indicator, like "ACTION" and "ONSUBMIT". Add InputElements, TextAreaElements, ButtonElement, FieldsetElement, and SelectElements to a FormElement with the addElement() method.
InputElement, 
TextAreaElement, 
SelectElement, 
ButtonElement, 
FieldsetElement| Fields inherited from class weblogic.html.HtmlElement | 
codeset,  
useObsolete | 
| Constructor Summary | |
FormElement(java.lang.String actionstr,
            java.lang.String methodstr)
Deprecated. Constructs a FormElement with the specified action and method.  | 
|
FormElement(java.lang.String actionstr,
            java.lang.String methodstr,
            java.lang.String encstr)
Deprecated. Constructs a FormElement with the specified action, method, and encoding.  | 
|
| Method Summary | |
 FormElement | 
addElement(HtmlElement val)
Deprecated. Adds an HtmlElement to a FormElement.  | 
 FormElement | 
addElement(java.lang.String str)
Deprecated. Adds a string to a FormElement.  | 
 HtmlElement | 
getElementAt(int pos)
Deprecated. Gets the HtmlElement at the specified index position.  | 
protected  java.lang.String | 
getHtmlCode()
Deprecated.  | 
protected  boolean | 
printCR()
Deprecated.  | 
 FormElement | 
setAction(java.lang.String actionstr)
Deprecated. Sets the form action, which specifies the location to which the contents of the form is to be submitted for a response.  | 
 FormElement | 
setEncType(java.lang.String encstr)
Deprecated. Sets the encoding attribute, which specifies the MIME content type to be used to encode the contents of the form.  | 
 FormElement | 
setMethod(java.lang.String methodstr)
Deprecated. Sets the form method, which is used to send the form contents.  | 
 FormElement | 
setName(java.lang.String name)
Deprecated. Sets the name for a FormElement.  | 
 FormElement | 
setOnSubmit(java.lang.String submitstr)
Deprecated. Sets the ONSUBMIT attribute.  | 
 FormElement | 
setTarget(java.lang.String targetstr)
Deprecated. Sets the window or frame target for a FormElement.  | 
 FormElement | 
setTarget(WindowName window)
Deprecated. Sets the window or frame target for a FormElement to a WindowName, which supports magic target names.  | 
| Methods inherited from class weblogic.html.MultiPartElement | 
addHeadMultiElement, 
addMultiElement, 
getMultiElementAt, 
getNumElements, 
printBody, 
printBody, 
printBody, 
removeElement, 
removeElementAt, 
replaceElementAt, 
replaceMultiElementAt, 
widthAsLiteral | 
| Methods inherited from class weblogic.html.ElementWithAttributes | 
addAttribute, 
addAttribute, 
escapeQuotes, 
getBooleanAttribute, 
getElementAttribute, 
getLocalVar, 
getQuotedAttribute, 
output, 
output, 
output, 
printBody, 
printEndingTag, 
setBooleanAttribute, 
setBooleanAttribute, 
setClass, 
setDirection, 
setElementAttribute, 
setElementAttribute, 
setElementAttribute, 
setElementAttribute, 
setElementAttribute, 
setId, 
setLang, 
setLocalVar, 
setQuotedAttribute, 
setStyle | 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Constructor Detail | 
public FormElement(java.lang.String actionstr,
                   java.lang.String methodstr)
actionstr - Server-side form handler (URI)methodstr - Form method
public FormElement(java.lang.String actionstr,
                   java.lang.String methodstr,
                   java.lang.String encstr)
actionstr - Server-side form handler (URI) enclosed in double quotesmethodstr - Form method enclosed in double quotesencstr - Form encoding enclosed in double quotes| Method Detail | 
protected java.lang.String getHtmlCode()
protected boolean printCR()
public FormElement addElement(HtmlElement val)
val - HtmlElement objectpublic FormElement addElement(java.lang.String str)
val - String objectpublic HtmlElement getElementAt(int pos)
pos - Index positionpublic FormElement setAction(java.lang.String actionstr)
actionstr - Actionpublic FormElement setEncType(java.lang.String encstr)
encstr - Encapsulationpublic FormElement setMethod(java.lang.String methodstr)
methodstr - Methodpublic FormElement setName(java.lang.String name)
name - String form namepublic FormElement setTarget(java.lang.String targetstr)
targetstr - String window namepublic FormElement setTarget(WindowName window)
target - WindowName objectpublic FormElement setOnSubmit(java.lang.String submitstr)
submitstr - Submit string
  | 
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||