springside3.2 left outer join 多重遍历

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>EasyBuy 商场列表</title>
 <%@ include file="/common/meta.jsp" %>
 <link href="${ctx}/css/yui.css" type="text/css" rel="stylesheet"/>
 <link href="${ctx}/css/style.css" type="text/css" rel="stylesheet"/>
 <link href="${ctx}/css/shop/shop.css" type="text/css" rel="stylesheet"/>
 <script src="${ctx}/js/jquery.js" type="text/javascript"></script>
 <script src="${ctx}/js/validate/jquery.validate.js" type="text/javascript"></script>
 <script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
 <script language="javascript" src="${ctx}/js/main.js"></script>
 <script src="${ctx}/js/table.js" type="text/javascript"></script>
 <script src="${ctx}/js/shop/shop.js" type="text/javascript"></script>

</head>
<body>
<div id="doc3">
<%@ include file="/common/header.jsp" %>
<form id="mainForm" action="shopinfo!addGoodsSave.action" method="post">
 <table width="100%" border="0" cellspacing="0" class="noborder">
  <tr class="top_td">
   <td valign="middle">
    当前操作:<a href="shopinfo.action" >商场管理</a>->添加商品
   </td>
  </tr>
  <tr>
   <td bgcolor="#dbe9e8"
    style="border: 1px solid #c2c2c2; padding-left: 10px;"></td>
  </tr>
 </table>
 <div id="shopinfo_mg" class="listgoods">
  <h2>
   <span style="">商店名称:</span>
   <span style="color:orange">${entity.shopname }</span>
   <input type="hidden" name="id" value="${entity.id }" />
  </h2>
  <ul>
  <c:if test="${not empty goodscategorys}">
  <c:forEach items="${goodscategorys }" var="goodscategory">
  <div><span style="font-weight:bold;color:blue">${goodscategory.name }</span></div>
  <div id="box">
   <ul style="overflow:hidden">
    <c:forEach items="${goodscategory.goods }" var="goods">
     <li><input type="checkbox" name="goodsids" <c:if test="${fn:contains(selectedGoods, goods.id)}" >checked</c:if> value="${goods.id }" /><span>${goods.name }</span></li>
    </c:forEach>
   </ul>
   <div class="clearboth"></div>
  </div>
  </c:forEach>
  </c:if>
  </ul> 
 </div>
 <div class="clearboth"></div>
 <div style="margin:20px"><input type="submit" name="" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="" value="重置" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="返回" οnclick="javascript:history.back()" /></div> 
</form>
<%@ include file="/common/footer.jsp" %>
</div>
</body>
</html>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值