KK

Kim-'s-Blog.Object-Everything.I'm POJO.

.紀-錄.爲了忘卻的記憶..真的勇士,要敢于直面遇到的問題,敢于正視繁雜的原碼......在實踐中積累!

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  74 Posts :: 1 Stories :: 70 Comments :: 0 Trackbacks
<body>
   <%
   DbDao db=new DbDao();
   List l=db.selectAllFeeder();
   request.setAttribute("v",l);
   %>
   <ec:table
  items="v"
  action=""
  cellspacing="2"
  imagePath="/Images/table/*.gif"
  title="Feeder列表"
  width="100%"
  var="vv"
  rowsDisplayed="30"
  >
  <ec:exportXls
                 fileName="data.xls"
                 tooltip="Export Excel"
                 text="XLS"
                 />
  <ec:row  onmouseover="this.style.cursor='hand'" highlightRow="true">
   <ec:column property="CREATOR" >
   </ec:column>
   <ec:column property="OKORNG"></ec:column>
   <ec:column property="NGTIME" title="出入庫紀錄">
   <input name="io"  type="button" value="出入庫紀錄" onclick="alert('${vv.CREATOR}')">
   </ec:column>
   <ec:column property="NGOP" title="維修歷史">
   <input name="r"  type="button" value="維修歷史" onclick="alert('123')">
   </ec:column>
   <ec:column title="test">
   </ec:column>

   </ec:row>
 </ec:table>

如此以来就可以在text button....内随意应用JavaScript及其他一些效果了。
posted on 2007-01-25 14:18 Kim' 阅读(374) 评论(0)  编辑  收藏

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


网站导航:
 
jj