ec:side的动态列如何实现

hhzstsl_lj 2009-05-15
有简单实现的列子吗?我按照http://ecside.group.iteye.com/group/topic/1504 上的做,结果报空指针的错误,我的版本是ecside_1.1_final
hanfi 2009-06-17
request.setAttribute(数据集, 数据list)
request.setAttribute(标题, 标题名(数组))
request.setAttribute(字段, 字段名(数组))
hanfi 2009-06-17
request.setAttribute(DATA, getTableData());
request.setAttribute(FIELD_NAMES, getFieldnames());
request.setAttribute(TITLE_NAMES, getTitlenames());

<iss:iTable
items="DATA"
var="record"
shadowRowAction="******"
action="action.do"
pageSizeList="5,10,20,50,all"
rowsDisplayed="5"
useAjax="true"
filterable="true"
width="100%"
height="280"
listWidth="100%" >
<iss:row ondblclick="this.onclick();m_onClick();" onclick=" SelectValue = '${record}';document.getElementById('Show').innerHTML=SelectValue.Tmb();">

<iss:columns/> 
</iss:row>
</iss:iTable>
Global site tag (gtag.js) - Google Analytics