Table Of Contents

Previous topic

gxp.LineSymbolizer

Next topic

gxp.NewSourceWindow

gxp.NewSourceDialog

Extends
xtype
gxp_newsourcedialog
class gxp.NewSourceDialog(config)

An Ext.Panel with some defaults that better lend themselves toward use as a quick query to get a service URL from a user.

Config Options

Configuration properties in addition to those listed for Ext.Panel.

addServerText

String Text for add server button (i18n).

addSource

A callback function to be called when the user submits the form in the NewSourceDialog.

TODO this can probably be extracted to an event handler

bodyStyle

The default bodyStyle sets the padding to 0px

cancelText

String Text for cancel button (i18n).

contactingServerText

String Text for server contact (i18n).

invalidURLText

String Message to display when an invalid URL is entered (i18n).

title

String Dialog title (i18n).

Public Properties

Public properties in addition to those listed for Ext.Panel.

NewSourceDialog.error

String The error message set (for example, when adding the source failed)

Events

Events in addition to those listed for Ext.Panel.

urlselected

Fired with a reference to this instance, the URL that the user provided and the type of service as a parameters when the form is submitted.