Class FormBase
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--FormBase
- class
FormBase
- extends WidgetBaseXSL
Defined in FormBase.js
Constructor Summary |
FormBase
(widgetNode, model)
Widget to display a form for input of parameters to generate a web service
request.
|
Method Summary |
Object
|
handleKeyPress(event)
handles keypress events to filter out everything except "enter".
|
void
|
postPaint(objRef)
Refreshes the form onblur handlers when this widget is painted.
|
void
|
setValue(xpath, value)
|
formName
Object formName
FormBase
FormBase(widgetNode, model)
Widget to display a form for input of parameters to generate a web service
request. This JS object handles the form submit via HTTP Get by appending
a query string to the form's action URL. The query string is created from
all input elements and their values.
The target model is then loaded from the URL created.
A stylehseet must be specified as a property in config for this widget.
See widget/NtsForm.xsl for an example.
Parameters:
widgetNode
- This widget's object node from the configuration document.
model
- The model that this widget is a view of.
handleKeyPress
Object handleKeyPress(event)
handles keypress events to filter out everything except "enter".
Pressing the "enter" key will trigger a form submit
Parameters:
event
- the event object passed in for Mozilla; IE uses window.event
postPaint
void postPaint(objRef)
Refreshes the form onblur handlers when this widget is painted.
Parameters:
objRef
- Pointer to this CurorTrack object.
setValue
void setValue(xpath, value)
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007