inputEx Documentation Back to homepage

inputEx Documentation > inputEx.widget.Dialog 0.2.2

Static Class inputEx.widget.Dialog

Create a Dialog from an inputEx field definition

Constructor

inputEx.widget.Dialog ( options )
Parameters:
options <Object>  - Config object, options are :
  • inputExDef: an inputEx type definition (ex: {type: 'form', inputParams: {fields: [...]}})
  • id: an optional id for the dialog
  • parentEl: optional parentEl (default document.body)
  • title: the dialog title
  • panelConfig: the YAHOO.widget.Panel userConfig object

Methods

buildForm

static buildForm()
render the inputExDef as a inputEx field

getForm

static <inputEx.Field> getForm()
Return the inputEx field instance created
Returns:
    <inputEx.Field> the field instance

getValue

static <Any> getValue()
Shortcut to get value
Returns:
    <Any> the field value

setValue

static setValue(value[,sendUpdatedEvt])
Shortcut to set value
Parameters:
    value <Any>  - The value to set on the field
    sendUpdatedEvt <boolean> optional - (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)




Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:32 GMT using neyricjslibs-template.