^1640742915374
@
sname
SelectDataObjectWindow
slabel
SelectDataObjectWindow
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sgroup
Window,DataObject.window
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>一个弹出窗口，一般含有一个查询表单和数据表格，用来选择数据对象。</p>

<p><strong>1. 选择处理函数</strong></p>

<p>按照XWorker打开窗口的方法，在打开窗口时会传入一个处理函数，在选择了数据后点击确定会调用此函数。</p>

<p>该函数的参数是datas，为表格选中的记录数组。</p>

<p><strong>2. 复选框</strong></p>

<p>是由数据对象所决定的，在数据对象上设置。</p>

<p><strong>3. 查询表单和表格的标识</strong></p>

<p>查询表单的标识为&lt;windowId&gt;Form，表格的标识为&lt;windowId&gt;Grid。</p>
#$@text#$@
sth_createIndex
true
sth_registThing
child|xworker.extjs.Items
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@toJavaScriptCode
    sname
    toJavaScriptCode
    schangeSelf
    true
    sselfVarName
    data
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ActionGroup
    sth_createIndex
    false
    sth_mark
    false
    sid
    toJavaScriptCode
      @/@actions/@toJavaScriptCode/@actions
      sname
      actions
      sdescriptors
      xworker.lang.actions.Begin/@actions
      sth_createIndex
      false
      sth_mark
      false
      sid
      actions
        @/@actions/@toJavaScriptCode/@actions/@getFormDataObject
        sname
        getFormDataObject
        sselfName
        data
        sthingAttributeName
        formDataObect
        sthingChildPath
        formDataObect@0/@0
        sexceptionOnNoSelf
        true
        sexceptionOnNoThing
        true
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        ssaveReturn
        true
        sreturnVarName
        formDataObject
        sdisableGlobalContext
        false
        sdescriptors
        xworker.lang.actions.Actions/@GetThingFromSelf
        sth_createIndex
        false
        sth_mark
        false
        sid
        getFormDataObject
        @/@actions/@toJavaScriptCode/@actions/@getTableDataObject
        sname
        getTableDataObject
        sselfName
        data
        sthingAttributeName
        tableDataObject
        sthingChildPath
        tableDataObject@0/@0
        sexceptionOnNoSelf
        true
        sexceptionOnNoThing
        true
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        ssaveReturn
        true
        sreturnVarName
        tableDataObject
        sdisableGlobalContext
        false
        sdescriptors
        xworker.lang.actions.Actions/@GetThingFromSelf
        sth_createIndex
        false
        sth_mark
        false
        sid
        getTableDataObject
        @/@actions/@toJavaScriptCode/@actions/@getCondition
        sname
        getCondition
        sselfName
        data
        sthingAttributeName
        condition
        sthingChildPath
        condition@0/@0
        sexceptionOnNoSelf
        true
        sexceptionOnNoThing
        true
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        ssaveReturn
        true
        sreturnVarName
        condition
        sdisableGlobalContext
        false
        sdescriptors
        xworker.lang.actions.Actions/@GetThingFromSelf
        sth_createIndex
        false
        sth_mark
        false
        sid
        getCondition
        @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode
        sname
        toJavaScriptCode
        sselfVarName
        beginData
        suseRootThing
        false
        sactionName
        toJavaScriptCode
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        ssaveReturn
        false
        sdisableGlobalContext
        false
        sdescriptors
        xworker.lang.actions.Actions/@ThingTemplateAction
        sth_createIndex
        false
        sth_mark
        false
        sid
        toJavaScriptCode
          @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate
          sname
          ThingTemplate
          sdescriptors
          xworker.lang.actions.ThingTemplateAction/@ThingTemplate
          sth_createIndex
          false
          sth_mark
          false
          sid
          ThingTemplate
            @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window
            sname
            Window
            sdescriptors
            xworker.extjs.Items/@Window
            sth_createIndex
            false
            sth_mark
            false
            sid
            Window
              @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items
              sname
              items
              sdescriptors
              xworker.extjs.Ext.Container/@24354
              sth_createIndex
              false
              sth_mark
              false
              sid
              items
                @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinQueryForm_
                sdf_dataObject
                ${formDataObject.metadata.path}
                sdf_editorType
                edit
                sdf_appendItems
                true
                sdf_column
                ${data.formCols?default("4")}
                sdf_showLabel
                true
                sdf_labelAlign
                right
                sdf_labelVAlign
                baseline
                sdf_bind
                false
                sdf_bindType
                grid
                sname
                DataObjectFormPanel
                slabel
                queryForm
                sdescriptors
                xworker.web.app.view.extjs.widgets.AppItems/@DataObjectFormPanel
                sth_createIndex
                false
                sth_mark
                false
                sid
                _selectAppWinQueryForm_
                  @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinQueryForm_/@buttons
                  sname
                  buttons
                  sdescriptors
                  xworker.extjs.Ext.form.FormPanel/@24823
                  sth_createIndex
                  false
                  sth_mark
                  false
                  sid
                  buttons
                    @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinQueryForm_/@buttons/@Button
                    sname
                    Button
                    sdescriptors
                    xworker.extjs.Items/@Button
                    sth_createIndex
                    false
                    sth_mark
                    false
                    sid
                    Button
                      @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinQueryForm_/@buttons/@Button/@handler
                      sname
                      handler
                      sdescriptors
                      xworker.extjs.Ext.Button/@24224
                      sth_createIndex
                      false
                      sth_mark
                      false
                      sid
                      handler
                        @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinQueryForm_/@buttons/@Button/@handler/@loadApps
                        sname
                        loadApps
                        suseFormVar
                        false
                        sformPanelName
                        '${data.windowId?if_exists}Form'
                        sformVarName
                        form
                        suseGridStoreVar
                        false
                        sgridName
                        '${data.windowId?if_exists}Grid'
                        sgridStoreVarName
                        store
                        sdescriptors
                        xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@FormGridLaod
                        sth_createIndex
                        false
                        sth_mark
                        false
                        sid
                        loadApps
                @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@items/@_selectAppWinGridPanel_
                sdobj_condition
                ${condition.metadata.path}
                sloadMask
                true
                sdataObject
                ${tableDataObject.metadata.path}
                sname
                DataObjectGridPanel
                slabel
                dataTable
                sdescriptors
                xworker.web.app.view.extjs.widgets.AppItems/@DataObjectGridPanel
                sth_createIndex
                false
                sth_mark
                false
                sid
                _selectAppWinGridPanel_
              @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons
              sname
              buttons
              sdescriptors
              xworker.extjs.Ext.Panel/@25325
              sth_createIndex
              false
              sth_mark
              false
              sid
              buttons
                @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button
                sname
                Button
                sdescriptors
                xworker.extjs.Items/@Button
                sth_createIndex
                false
                sth_mark
                false
                sid
                Button
                  @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button/@handler
                  sname
                  handler
                  sdescriptors
                  xworker.extjs.Ext.Button/@24224
                  sth_createIndex
                  false
                  sth_mark
                  false
                  sid
                  handler
                    @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button/@handler/@selectGridRows
                    sname
                    selectGridRows
                    suseGridVar
                    false
                    sgridName
                    '${data.windowId?if_exists}Grid'
                    sgridVarName
                    grid
                    sxworkerExists
                    false
                    sdataVarName
                    datas
                    sreturnOnNoRowSelected
                    false
                    salertOnNoRows
                    true
                    snoRowsAlertTitle
                    '提示'
                    snoRowsAlertMessage
                    '请先选择一条记录！'
                    sdescriptors
                    xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridSelectRows
                    sth_createIndex
                    false
                    sth_mark
                    false
                    sid
                    selectGridRows
                    @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button/@handler/@closeWindow
                    sname
                    closeWindow
                    sdescriptors
                    xworker.extjs.Function/@Code
                    sth_createIndex
                    false
                    sth_mark
                    false
                    sid
                    closeWindow
                @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button1
                sname
                Button
                sdescriptors
                xworker.extjs.Items/@Button
                sth_createIndex
                false
                sth_mark
                false
                sid
                Button1
                  @/@actions/@toJavaScriptCode/@actions/@toJavaScriptCode/@ThingTemplate/@Window/@buttons/@Button1/@handler
                  sname
                  handler
                  sdescriptors
                  xworker.extjs.Ext.Button/@24224
                  sth_createIndex
                  false
                  sth_mark
                  false
                  sid
                  handler
    @/@actions/@getExtType
    sname
    getExtType
    stype
    string
    svalue
    Ext.Window
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ValueFactory
    sth_createIndex
    false
    sid
    getExtType
  @/@name
  sname
  name
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  label
  @/@title
  sname
  title
  ssize
  69
  srowspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  title
  @/@tableTitle
  sname
  tableTitle
  ssize
  60
  scolspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  tableTitle
  @/@windowId
  sname
  windowId
  ssize
  40
  srowspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>窗口的标识，查询表单的标识为该标识+Form，表格为+Grid，如标识为awindow，表单和表格标识为awindowForm、awindowGrid。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  windowId
  @/@okFunction
  sname
  okFunction
  ssize
  60
  srowspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>确定按钮调用的函数，如Ext.getCmp(&#39;&lt;windowId&gt;&#39;).parentFn，确定按钮的调用代码就是Ext.getCmp(&#39;&lt;windowId&gt;&#39;).parentFn(datas)，参数如datas。</p>

<p><span style="color:rgb(178, 34, 34)">如果该字段为空默认为Ext.getCmp(&#39;&lt;windowId&gt;&#39;).parentFn，即函数是由xworker的openWindow传入的。</span></p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  okFunction
  @/@okButtonLabel
  sname
  okButtonLabel
  sreadOnly
  false
  sdefault
  确定
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  okButtonLabel
  @/@closeButtonLabel
  sname
  closeButtonLabel
  sreadOnly
  false
  sdefault
  关闭
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  closeButtonLabel
  @/@formDataObect
  sname
  formDataObect
  sinputtype
  openWindow
  ssize
  60
  scolspan
  2
  sinputattrs
  xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>用于生成表单的数据对象。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  formDataObect
  @/@tableDataObject
  sname
  tableDataObject
  sinputtype
  openWindow
  ssize
  60
  scolspan
  2
  sinputattrs
  xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>用于生成显示数据的表格以及查询数据的数据对象的路径。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  tableDataObject
  @/@condition
  sname
  condition
  sinputtype
  openWindow
  ssize
  60
  scolspan
  2
  sinputattrs
  xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.query.Condition,returnType=path
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>用于查询数据的条件设置。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  condition
  @/@formCols
  sname
  formCols
  sreadOnly
  false
  sdefault
  4
  sinheritDescription
  false
  sdescription
  <p>查询表单一行中含有字段的最大个数，如4表示表单的一行可以包含最多4个输入框。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  formCols
  @/@formRows
  sname
  formRows
  sinputtype
  select
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>表单的行数，会根据行数决定表单的高度。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  formRows
    @/@formRows/@1
    sname
    1
    slabel
    1
    svalue
    75
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    1
    @/@formRows/@2
    sname
    2
    slabel
    2
    svalue
    102
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    2
    @/@formRows/@3
    sname
    3
    slabel
    3
    svalue
    129
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    3
    @/@formRows/@4
    sname
    4
    slabel
    4
    svalue
    156
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    4
    @/@formRows/@5
    sname
    5
    slabel
    5
    svalue
    183
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    5
    @/@formRows/@6
    sname
    6
    slabel
    6
    svalue
    210
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_mark
    false
    sid
    6
  @/@formDataObect1
  sname
  formDataObect
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.dataObject.DataObjects
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sth_createIndex
  false
  sth_mark
  false
  sid
  formDataObect1
  @/@tableDataObject1
  sname
  tableDataObject
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.dataObject.DataObjects
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sth_createIndex
  false
  sth_mark
  false
  sid
  tableDataObject1
  @/@condition1
  sname
  condition
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.dataObject.query.Condition
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sth_createIndex
  false
  sth_mark
  false
  sid
  condition1
  @/@width
  sname
  width
  sreadOnly
  false
  sdefault
  720
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  width
  @/@height
  sname
  height
  sreadOnly
  false
  sdefault
  480
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  height
