OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.gui

class NativeForm

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.gui.Painted
      ->jsx3.gui.Block
        ->jsx3.gui.NativeForm

All Implemented Interfaces:

jsx3.gui.Interactive, jsx3.util.EventDispatcher

class NativeForm
extends jsx3.gui.Block
The JSX version of a standard FORM element.

Since:

3.9

Field Summary
static int
BLANK
static String
GET
static int
IFRAME
static String
POST
static int
SELF
static int
TOP
Method Summary
String
Returns the action of this form, the URL that this form is submitted to.
String
Returns the iframe target.
String
Returns the method of this form.
boolean
Returns whether this form is multipart.
String
Returns the content of the response as a string.
jsx3.xml.Document
Returns the content of the response as an XML document.
int
Returns the target of this form.
void
Resets this form.
void
setAction(strAction : String)
Sets the action of this form.
void
setIFrame(strIframe : String)
Sets the iframe target.
void
setMethod(strMethod : String)
Sets the method of this form.
void
setMultipart(bMulti : boolean)
Sets whether this form is multipart.
void
setTarget(intTarget : int)
Sets the target of this form.
void
Submits this form.
Methods Inherited From jsx3.gui.Block
getBackground, getBackgroundColor, getBorder, getCDFAttribute, getCDFId, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, paint, setBackground, setBackgroundColor, setBorder, setCDFAttribute, setCDFId, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask
Methods Inherited From jsx3.gui.Interactive
doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy
Methods Inherited From jsx3.gui.Painted
focus, getAbsolutePosition, getAttribute, getAttributes, getRendered, insertHTML, onAfterPaint, onAfterRestoreView, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute
Methods Inherited From jsx3.app.Model
adoptChild, assembleFromXML, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getDynamicProperty, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onChildAdded, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, selectDescendants, setChild, setDynamicProperty, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc, toXMLElm
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Field Detail

BLANK

static final int BLANK

GET

static final String GET

IFRAME

static final int IFRAME

POST

static final String POST

SELF

static final int SELF

TOP

static final int TOP
Method Detail

getAction

String getAction()
Returns the action of this form, the URL that this form is submitted to.

Returns:

action  

getIFrame

String getIFrame()
Returns the iframe target.

Returns:

 

See Also:

setIFrame()

getMethod

String getMethod()
Returns the method of this form.

Returns:

GET or POST.  

getMultipart

boolean getMultipart()
Returns whether this form is multipart. Only multipart forms may upload files.

Returns:

 

getResponseText

String getResponseText()
Returns the content of the response as a string.

Returns:

 

getResponseXML

jsx3.xml.Document getResponseXML()
Returns the content of the response as an XML document.

Returns:

 

getTarget

int getTarget()
Returns the target of this form.

Returns:

IFRAME, BLANK, SELF or TOP.  

reset

void reset()
Resets this form.

setAction

void setAction(strAction : String)
Sets the action of this form.

Parameters:

strAction

setIFrame

void setIFrame(strIframe : String)
Sets the iframe target. The iframe target is the GI iframe that this form will target. strIframe should be either the unique name of the target iframe in this application or a selection expression that will uniquely select the target iframe in this application.

Parameters:

strIframethe new format.

See Also:


setMethod

void setMethod(strMethod : String)
Sets the method of this form.

Parameters:

strMethodGET or POST.

setMultipart

void setMultipart(bMulti : boolean)
Sets whether this form is multipart.

Parameters:

bMulti

setTarget

void setTarget(intTarget : int)
Sets the target of this form.

Parameters:

intTargetIFRAME, BLANK, SELF or TOP.

submit

void submit()
Submits this form.