随笔-4  评论-4  文章-1  trackbacks-0

如下例:
 <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 温娜 阅读(4655) 评论(2)  编辑  收藏

评论:
# re: struts标签logic:equal 2010-02-16 20:18 | 露露
请教一下,不加EL表达式的怎么写?  回复  更多评论
  
# re: struts标签logic:equal 2010-08-02 13:38 | ss
哎,我也碰到这个问题,不用el表达式,怎么比较value里的值啊  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: