GeoExt

Table Of Contents

Previous topic

GeoExt.ZoomSliderTip

Next topic

GeoExt.form.FormPanel

GeoExt.form.BasicForm

Extends
class GeoExt.form.BasicForm(config)

A specific Ext.form.BasicForm whose doAction method creates a GeoExt.form.SearchAction if it is passed the string “search” as its first argument.

In most cases one would not use this class directly, but GeoExt.form.FormPanel instead.

Public Methods

Public methods in addition to those listed for Ext.form.BasicForm.

BasicForm.doAction()
Parameters:
  • actionString or Ext.form.Action Either the name of the action or a Ext.form.Action instance.
  • optionsObject The options passed to the Action constructor.
Returns:

GeoExt.form.BasicForm This form.

Performs the action, if the string “search” is passed as the first argument then a GeoExt.form.SearchAction is created.

BasicForm.search()
Parameter:optionsObject The options passed to the Action constructor.
Returns:GeoExt.form.BasicForm This form.

Shortcut to do a search action.