Class OWSCatSearchForm
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--OWSCatSearchForm
- class
OWSCatSearchForm
- extends WidgetBaseXSL
Defined in CatSearchForm.js
Constructor Summary |
OWSCatSearchForm
(widgetNode, model)
Widget to display a form for input of parameters to generate a web service
request.
|
Method Summary |
void
|
displayAoiCoords(objRef)
Output the AOI coordinates to the associated form input elements.
|
Object
|
handleKeyPress(event)
handles keypress events to filter out everything except "enter".
|
Object
|
openRucWindow( rucType )
|
void
|
postPaint(objRef)
Refreshes the form onblur handlers when this widget is painted.
|
void
|
setAoi()
Handles user input from the form element.
|
void
|
setLocation(bbox)
Change the AOI coordinates from select box choice of prefined locations
|
Object
|
submitForm()
Handles submission of the form (via javascript in an tag)
|
formName
Object formName
OWSCatSearchForm
OWSCatSearchForm(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.
displayAoiCoords
void displayAoiCoords(objRef)
Output the AOI coordinates to the associated form input elements. This
method is registered as an AOI listener on the context doc.
Parameters:
objRef
- Pointer to this searchForm object.
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
openRucWindow
Object openRucWindow( rucType )
postPaint
void postPaint(objRef)
Refreshes the form onblur handlers when this widget is painted.
Parameters:
objRef
- Pointer to this CurorTrack object.
setAoi
void setAoi()
Handles user input from the form element. This is an onblur handler for
the input elements.
setLocation
void setLocation(bbox)
Change the AOI coordinates from select box choice of prefined locations
Parameters:
bbox
- the bbox value of the location keyword chosen
submitForm
Object submitForm()
Handles submission of the form (via javascript in an tag)
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007