Community Map Builder 27 Apr 2008

Class InsertFeature

Object
   |
   +--WidgetBase
         |
         +--ButtonBase
               |
               +--InsertFeature

class InsertFeature
extends ButtonBase

Defined in InsertFeature.js

Author: Cameron Shorter


Field Summary
 Object cursor
          
 Object httpPayload
          
 Object insertXsl
          Xsl to convert Feature into a WFS Transaction Insert.
 Object tc
          
 Object tm
          
 Object trm
          
 Object updateXsl
          Xsl to convert Feature into a WFS Transaction Update.
   
Fields inherited from class ButtonBase
htmlTagId, panelHtmlTagId, buttonType, olButtonType, action, cursor, selected, control, active, superclass, objRef, panel_div, div
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, autoRefresh, debug
 
Constructor Summary
InsertFeature (widgetNode, model)
            When this button is pressed a WFS-T InsertFeature transaction will be started.
 
Method Summary
 Object createControl(objRef)
           creates the OL control for this button
 void doSelect(objRef, selected)
           Start a WFS-T InsertFeature transaction.
 void handleResponse(objRef)
           If transaction was sucessful, refresh the map and remove contents of FeatureList.
 
Methods inherited from class ButtonBase
getButtonClass, doAction, select, attachToOL, buttonInit
   
Methods inherited from class WidgetBase
getProperty, getNode, initTargetModel, prePaint, postPaint, clearWidget
 

Field Detail

cursor

Object cursor

httpPayload

Object httpPayload

insertXsl

Object insertXsl

tc

Object tc

tm

Object tm

trm

Object trm

updateXsl

Object updateXsl

Constructor Detail

InsertFeature

InsertFeature(widgetNode, model)

Method Detail

createControl

Object createControl(objRef)

doSelect

void doSelect(objRef, selected)

handleResponse

void handleResponse(objRef)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008