![ContractedBlock.gif](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![ExpandedBlockStart.gif](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
<html:select name="zlAdjustForm" property="vo.checkOrgCode" styleClass="input100">
<htmlext:dbOptions name="zlAdjustForm" keyType="select ORG_NAME,ORG_NAME from CHECK_ORG_INFO " dbUserid ="0" hasNull="true"/>
</html:select>
其中
select name:值为当前form的名称。
property:下拉对象所对应的某个属性。
dbOptions name:值为当前form的名称。
keyType:搜索数据源的SQL语句。(其中第一列为option value,第二列为显示在页面的值)。
hasNull:true为允许为空,ALL:当该属性为空时,意思为所有。
<
html:select
name
="zlAdjustForm"
property
="vo.dealResult"
styleClass
="input100"
>
< htmlext:dbOptions name ="zlAdjustForm" keyTypes ="zl_jdcc_fcjyjl" hasNull ="true" />
</ html:select >
< htmlext:dbOptions name ="zlAdjustForm" keyTypes ="zl_jdcc_fcjyjl" hasNull ="true" />
</ html:select >
其中
select name:值为当前form的名称。
property:下拉对象所对应的某个属性。
dbOptions name:值为当前form的名称。
keyType:字典表中,编码说明字段为zl_jdcc_fcjyjl的所有明细选项。
hasNull:true为允许为空,ALL:当该属性为空时,意思为所有。
在显示数据列表时使用:
<
htmlext:write name
=
"
vo
"
property
=
"
orgArea
"
keyType
=
"
gd_area_outland
"/
>
在View页面显示数据时使用:
<
htmlext:write name
=
"
zlJdccCompanyNamesForm
"
property
=
"
vo.orgArea
"
keyType
=
"
行政区划
"/
>