Table Of Contents

Previous topic

gxp.NewSourceDialog

Next topic

gxp.PlaybackOptionsPanel

gxp.NewSourceWindow

class gxp.NewSourceWindow(config)

An Ext.Window 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.

addSource

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

TODO this can probably be extracted to an event handler

bodyStyle

The default bodyStyle sets the padding to 0px

closeAction

The default closeAction is ‘hide’

hideBorders

Defaults to true.

width

The width defaults to 300

Public Properties

Public properties.

NewSourceWindow.error

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

Events

Events.

server-added

Fired with the URL that the user provided as a parameter when the form is submitted.