velocity

来源:互联网 发布:手机淘宝页头图片 编辑:程序博客网 时间:2024/06/10 20:28
  1. <form action=$actionStr name=$actionform id="" method="post">  
  2.             <table width="70%" border="0" align="center" cellpadding="1"  
  3.                 cellspacing="1" bgcolor="#666666" id="myTable">  
  4.               <TBODY>  
  5.                 <THEAD>  
  6.                     <TR class=TableHeader height="23">  
  7.                     #foreach($cel in $cels)  
  8.                         <td align="center" nowrap class="td_filter tablehead">1_ $cel</Td>  
  9.                     #end  
  10.                         <td align="center" nowrap class="td_filter tablehead">操作</td>  
  11.                     </TR>  
  12.                 </THEAD>  
  13.             #foreach($arrsList in $listAll)  
  14.                 <tr bgcolor="#ffffff" class="onmover1" >  
  15.                     <input type="hidden" name="recflag" value="1" />  
  16.                     <input type="hidden" name="pdstatusid" value="" />                    #foreach($arrs in $arrsList)  
  17.                     <td height="23" align=center noWrap>  
  18.                         $arrs  
  19.                     </td>  
  20.                 #end  
  21.                     <td align=center noWrap>  
  22.                         <input type="checkbox" name="select" title="" value=""/>  
  23.                     </td>  
  24.                 </tr>  
  25.             #end  
  26.             </table>  
  27. </form>  

用字符串拼接window.location.href="Default.asp?id=“+id+"&name="+name;

0 0