|
|
|
|
datacell与业务字典(dict)结合使用的例子 发布时间:2007-09-04 13:09:44 作者:cservice 出处: 语言:中文 阅读次数:786次 |
| 【适用范围】
EOS5.1及以上
【内容】
datacell某一栏的数据需要从业务字典(dict)中取,代码该如何写,参考如下:
<richclient:selectEditor id="selectIdentityEditor">
<richclient:optionTable selectId="select1" width="100" height="200">
<dict:select businTypeId="BNDICT_certType" property="select1" nullOption="true" nullLabel="请选择..." />
</richclient:optionTable>
</richclient:selectEditor>
<datacell:datacell tableId="eosLogicTable" entityType="EOSBizCatalog" queryAction="fbrole.bizcatalog.bizCatalogQuery" xpath="list" onrefresh="cellRefresh" initParamFunction="initCatalogList">
<table cellpadding="0" border="0" cellspacing="0"">
<tr>
<td class="fb_result_head">
<datacell:pilot submitAction="fbrole.bizcatalog.bizCatalogUpdateAll" width="260"/>
</td>
</tr>
</table>
<table id="eosLogicTable" class="fb_result" cellpadding="0" cellspacing="1">
<thead>
<tr>
<th width="110" name="catalogID" class="fb_result_head">功能编号</TH>
<th width="140" name="catalogName" class="fb_result_head">业务功能名称</TH>
<th width="60" name="operate" class="fb_result_head">操作</TH>
</tr>
</thead>
<tbody class="RC_DATACELL_BODY">
<tr>
<td width="110" name="catalogID" editor="textEditor" eos_isnull="false" eos_maxsize="20" eos_displayname="功能编号" modify="false"></TD>
<td width="140" name="catalogName" nowrap editor="selectIdentityEditor" eos_isnull="false" eos_maxsize="40" eos_displayname="业务功能名称"></TD>
<td width="60" name="operate" align="center"></TD>
</tr>
</tbody>
</table>
</datacell:datacell>
【备注】 |
|
| 声明:本栏目转载文字、造型、样式、图形及程序如有来自网络,版权归原作者或首发媒体所有,欢迎任何个人访问或者转载,若有作者及出处有误,请来信说明,我们将及时更正。 |
|