您的位置:首页 > 其它

ognl标签 遍历 在两列显示

2011-03-04 15:34 190 查看
<s:iterator value="getInfoList(#moduleCategory,null)" status="sta">
<s:if test="#sta.odd || #sta.first">
<tr>
</s:if>
<td class="down_item" width="140">
<s:set value="title" var="subTitle"></s:set>
<s:set value="id" var="infoId"></s:set>
<s:set value="createInfoStaticHtml(#infoId)" var="staticHtml"></s:set>
<img src="<s:property value='#basePath' />sg/images/gj_xb.jpg" width="16" height="16"
align="middle" />

<a href="<s:property value=" mce_href="<s:property value="#staticHtml"></a>" target=_blank><s:property
value="getResult(#subTitle,#titleLenth)" /> </a>
</td>
<s:if test="#sta.even || #sta.last">
</tr>
</s:if>
</s:iterator>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: