如下例:
<logic:equal name="map" property="key" value="${list.moduleId}">
<td>
<html:multibox property="powersId" value="${list.powerId}">
</html:multibox>
<bean:write name="list" property="powerChinese"/>
</td>
</logic:equal>
如果map的属性key值为${list.moduleId},则执行:
<td>
<html:multibox property="powersId" value="${list.powerId}">
</html:multibox>
<bean:write name="list" property="powerChinese"/>
</td>
posted on 2007-10-28 21:28
温娜 阅读(4663)
评论(2) 编辑 收藏