Properties Methods Events Config Options Direct Link

# Class App.user.FormPanel

Package: | App.user
Defined In: | UserForm.js
Class: | FormPanel
Extends: | Object

A typical FormPanel extension

## Config Options

Config Options | Defined By
--- | ---
| api : Object remoting api. should be defined in your own config js. | FormPanel

## Public Properties

Property | Defined By
--- | ---
| STATUS_EXCEPTION : Object response status codes. | FormPanel

## Public Methods

Method | Defined By
--- | ---
| App() : void
Author: | Chris Scott
Ext.App Ext.App Parameters: None. Returns: void | FormPanel
| ImageDragZone() : void Create a DragZone instance for our JsonView Create a DragZone instance for our JsonView Parameters: None. Returns: void | FormPanel
| addMessage( `String msg`, `Bool status` ) : void adds a message to queue. adds a message to queue. Parameters: `msg` : String `status` : Bool Returns: void | FormPanel
| buildMessageBox() : void buildMessageBox buildMessageBox Parameters: None. Returns: void | FormPanel
| decodeStatusIcon( `Object status` ) : void decodeStatusIcon decodeStatusIcon Parameters: `status` : Object Returns: void | FormPanel
| getAPI() : void getAPI return Ext Remoting api getAPI return Ext Remoting api Parameters: None. Returns: void | FormPanel
| getViewState( `Object cmd` ) : void getViewState, aliaz for Ext.state.Manager.get getViewState, aliaz for Ext.state.Manager.get Parameters: `cmd` : Object Returns: void | FormPanel
| getViews() : void getViews return list of registered views getViews return list of registered views Parameters: None. Returns: void | FormPanel
| initComponent() : void initComponent initComponent Parameters: None. Returns: void | FormPanel
| loadRecord( `Record rec` ) : void loadRecord loadRecord Parameters: `rec` : Record Returns: void | FormPanel
| onCreate() : void onCreate onCreate Parameters: None. Returns: void | FormPanel
| onReset() : void onReset onReset Parameters: None. Returns: void | FormPanel
| onUpdate() : void onUpdate onUpdate Parameters: None. Returns: void | FormPanel
| registerActions( `Object actions` ) : void registerActions registers new actions for API registerActions registers new actions for API Parameters: `actions` : Object Returns: void | FormPanel
| registerView( `Object view` ) : void registerView register an application view component. registerView register an application view component. Parameters: `view` : Object Returns: void | FormPanel
| setAlert( `String msg`, `Bool status` ) : void setAlert show the message box. Aliased to addMessage setAlert show the message box. Aliased to addMessage Parameters: `msg` : String `status` : Bool Returns: void | FormPanel
| setViewState( `Object key`, `Object value` ) : void setViewState, alias for Ext.state.Manager.set setViewState, alias for Ext.state.Manager.set Parameters: `key` : Object `value` : Object Returns: void | FormPanel
| t( `String to` ) : String t translation function. needs to be implemented. simply echos supplied word back currently. t translation function. needs to be implemented. simply echos supplied word back currently. Parameters: `to` : String translate Returns: `String` translated. | FormPanel

## Public Events

Event | Defined By
--- | ---
| create : ( `FormPanel this`, `Object values,` ) Fires when user clicks [create] button Fires when user clicks [create] button Listeners will be called with the following arguments: `this` : FormPanel `values,` : Object the Form's values object | FormPanel