Class WebServiceForm
Object
   |
   +--WidgetBase
         |
         +--WidgetBaseXSL
               |
               +--WebServiceForm
   
   - class 
   WebServiceForm
   
      
- extends WidgetBaseXSL 
   
  
   
   
   Defined in WebServiceForm.js
   
   
   
   
      
    
   
   
   
    
   
 
   
    
   
 
| 
Constructor Summary | 
   
      
	 
	    WebServiceForm 
	 
	 (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
	 
       | 
      
	 
	    
	       init(objRef)
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       postPaint(objRef)
	 
	  
	           
	 Refreshes the form onblur handlers when this widget is painted.
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       prePaint(objRef)
	 
	  
	           
	 Sets value for form elements
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setAoiParameters(objRef,bbox)
	 
	  
	           
	 Setup the listener for AOI changes to be used in filter if necessary
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       submitForm()
	 
	  
	           
	 Handles submission of the form (via javascript in an  tag)
       | 
   
 
 
 
 
   
   
   
   
   formElements
   Object formElements
   
   
   
   
   formName
   Object formName
   
   
   
   
   namespace
   Object namespace
   
   
   
   
   webServiceForm
   Object webServiceForm
   
   
   
    
WebServiceForm
WebServiceForm(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
      
 
   
   
   
   
   
   
   
   
   
   init
   void init(objRef)
   
   
   
   
   
   
   
   
   
   postPaint
   void postPaint(objRef)
   
      Refreshes the form onblur handlers when this widget is painted.
   
   
   
   
   Parameters:
   
     objRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
   
   prePaint
   void prePaint(objRef)
   
      Sets value for form elements
   
   
   
   
   Parameters:
   
     objRef -  Pointer to this object.      
      
 
   
   
   
   
   
   
   
   
   
   setAoiParameters
   void setAoiParameters(objRef,bbox)
   
      Setup the listener for AOI changes to be used in filter if necessary
   
   
   
   
   
   
   
   
   
   submitForm
   void submitForm()
   
      Handles submission of the form (via javascript in an  tag)
   
   
   
   
   
   
   
   
Documentation generated by 
JSDoc on Tue Aug 21 08:12:28 2007