^1640742914769
@
sname
DataObjectFormPanel
slabel
DataObjectFormPanel
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.extjs.Ext.form.FormPanel,xworker.web.app.view.extjs.widgets.DataObjectComponent
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>使用数据对象自动生成的表单。</p>

<p><strong>1. 表单布局和输入</strong></p>

<p>使用table布局，根据数据对象属性的rows和cols产生table的布局数据，根据属性所定义的输入方式动态生成对应的Extjs输入方式。</p>

<p><strong>2. 自定义items</strong></p>

<p>DataObjectFormPanel可以添加items子事物，但不建议这么。</p>

<p>如果添加了items子事物，仍然系统通过数据对象自动生成控件，那么设置追加模式为true。</p>

<p><strong>3. 表单数据初始化和保存等</strong></p>

<p>可以通过<strong><u>LoadFormFromDataObject</u></strong>或<strong><u>SubmitDataObject</u></strong>等表单相关函数实现，表单自身不会自动初始化，可以在其他函数里实现。</p>

<p><strong>4. 文件上传</strong></p>

<p>如果数据对象中有属性的输入方式为file或filePath，那么会设置表单的fileUpload属性为true。</p>

<p>&nbsp;</p>
#$@text#$@
  @/@actions
  sname
  actions
  slabel
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  actions
    @/@actions/@toJavaScript
    sname
    toJavaScriptCode
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    toJavaScriptCode
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    toJavaScript
    @/@actions/@getExtType
    sname
    getExtType
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    getExtType
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    getExtType
    @/@actions/@getDataObject
    sname
    getDataObject
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    getDataObject
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    getDataObject
    @/@actions/@createFormPanel
    sname
    createFormPanel
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createFormPanel
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createFormPanel
    @/@actions/@getInitData
    sname
    createFormData
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createFormData
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    getInitData
    @/@actions/@createFormItems
    sname
    createFormItems
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createFormItems
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createFormItems
      @/@actions/@createFormItems/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createFormItems/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createFormItems/@ins/@keys
        sname
        keys
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        keys
        @/@actions/@createFormItems/@ins/@attributes
        sname
        attributes
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        attributes
    @/@actions/@createBaseParameters
    sname
    createBaseParameters
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createBaseParameters
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createBaseParameters
      @/@actions/@createBaseParameters/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createBaseParameters/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createBaseParameters/@ins/@dataObject
        sname
        dataObject
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        dataObject
    @/@actions/@createReader
    sname
    createReader
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createReader
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createReader
      @/@actions/@createReader/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createReader/@ins/@fields
        sname
        attributes
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        fields
        @/@actions/@createReader/@ins/@keys
        sname
        keys
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        keys
        @/@actions/@createReader/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
    @/@actions/@createFunctions
    sname
    createLoadFunction
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createLoadFunction
    sdisableGlobalContext
    false
    sdescription
    <p>为FormPanel创建一个doLoad(keys)的函数。</p>
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createFunctions
      @/@actions/@createFunctions/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createFunctions/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createFunctions/@ins/@dataObject
        sname
        dataObject
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        dataObject
    @/@actions/@createCreateFunction
    sname
    createCreateFunction
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createCreateFunction
    sdisableGlobalContext
    false
    sdescription
    <p>创建创建函数。</p>
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createCreateFunction
      @/@actions/@createCreateFunction/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createCreateFunction/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createCreateFunction/@ins/@dataObject
        sname
        dataObject
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        dataObject
    @/@actions/@createUpdateFunction
    sname
    createUpdateFunction
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createUpdateFunction
    sdisableGlobalContext
    false
    sdescription
    <p>创建创建函数。</p>
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createUpdateFunction
      @/@actions/@createUpdateFunction/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createUpdateFunction/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createUpdateFunction/@ins/@dataObject
        sname
        dataObject
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        dataObject
    @/@actions/@createDestroyFunction
    sname
    createDestroyFunction
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.extjs.widgets.form.DataObjectFormPanelCreator
    smethodName
    createDestroyFunction
    sdisableGlobalContext
    false
    sdescription
    <p>创建创建函数。</p>
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    createDestroyFunction
      @/@actions/@createDestroyFunction/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@createDestroyFunction/@ins/@formPanel
        sname
        formPanel
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        formPanel
        @/@actions/@createDestroyFunction/@ins/@dataObject
        sname
        dataObject
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        dataObject
  @/@dataObject
  sname
  df_dataObject
  slabel
  数据对象
  sinputtype
  dataSelector
  ssize
  60
  scolspan
  2
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  dataObject
  @/@df_editorType
  sname
  df_editorType
  slabel
  编辑器类型
  sinputtype
  select
  sdefault
  edit
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  df_editorType
    @/@df_editorType/@create
    sname
    create
    slabel
    create
    svalue
    create
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    create
    @/@df_editorType/@edit
    sname
    edit
    slabel
    edit
    svalue
    edit
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    edit
    @/@df_editorType/@view
    sname
    view
    slabel
    view
    svalue
    view
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    view
    @/@df_editorType/@query
    sname
    query
    slabel
    query
    svalue
    query
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    query
  @/@df_appendItems
  sname
  df_appendItems
  slabel
  追加条目
  sinputtype
  truefalse
  sdefault
  true
  sdescription
  <p>如果选择追加条目，那么在当前FormPanel定义的条目基础上追加通过数据对象生成的属性编辑条目，否则如果已定义了items那么就不通过数据对象创建属性条目了。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  df_appendItems
  @/@column
  sname
  df_column
  slabel
  编辑列数
  ssize
  5
  sdefault
  2
  sdescription
  <p>如果为空使用数据对象定义的编辑列数。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  column
  @/@showLabel
  sname
  df_showLabel
  slabel
  显示标签
  sinputtype
  truefalse
  sdefault
  true
  sdescription
  <p>如果为空使用数据对象定义的值。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  showLabel
  @/@labelAlign
  sname
  df_labelAlign
  slabel
  标签水平对齐
  sinputtype
  select
  sdefault
  right
  sdescription
  <p>如果为空使用数据对象定义的值。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  labelAlign
    @/@labelAlign/@left
    sname
    left
    slabel
    左对齐
    svalue
    left
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    left
    @/@labelAlign/@right
    sname
    right
    slabel
    右对齐
    svalue
    right
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    right
    @/@labelAlign/@center
    sname
    center
    slabel
    居中
    svalue
    center
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    center
    @/@labelAlign/@justify
    sname
    justify
    slabel
    两边对齐
    svalue
    justify
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    justify
  @/@labelVAlign
  sname
  df_labelVAlign
  slabel
  标签垂直对齐
  sinputtype
  select
  sdefault
  baseline
  sdescription
  <p>如果为空使用数据对象定义的值。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  labelVAlign
    @/@labelVAlign/@top
    sname
    top
    slabel
    上对齐
    svalue
    top
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    top
    @/@labelVAlign/@center
    sname
    center
    slabel
    中间对齐
    svalue
    center
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    center
    @/@labelVAlign/@buttom
    sname
    bottom
    slabel
    下对齐
    svalue
    bottom
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    buttom
    @/@labelVAlign/@baseline
    sname
    baseline
    slabel
    基线
    svalue
    baseline
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    baseline
  @/@DataObjects
  sname
  dataObjects
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.dataObject.DataObjects
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sid
  DataObjects
  @/@df_bind
  sname
  df_bind
  slabel
  表单绑定
  sinputtype
  truefalse
  sdefault
  false
  sdescription
  <p>是否把表单绑定到其他控件上。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  df_bind
  @/@df_bindType
  sname
  df_bindType
  slabel
  绑定类型
  sinputtype
  select
  sdefault
  grid
  sdescription
  <p>可以把表单绑定到一个Grid或Store上。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  df_bindType
    @/@df_bindType/@grid
    sname
    grid
    slabel
    grid
    svalue
    grid
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    grid
    @/@df_bindType/@store
    sname
    store
    slabel
    store
    svalue
    store
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    store
  @/@def_bingId
  sname
  df_bindId
  slabel
  绑定控件标识
  sdescription
  <p>指定被绑定控件id号。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  def_bingId
