<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="ShopProductCat 添加实体类列表，path: 请情: www.guuraa.net " />

<title>ShopProductCat列表</title>
<link href="<bean:write name="SystemConfigApp" property="appContext"/>/com/goosaa/templete/default.css" type="text/css" rel="stylesheet">
<!--
*
 * @author http://www.guuraa.org 鲸浪guuraa
* tel:020-28983330 mobile:15975485229
 * email:wujavei@126.com  QQ:274390981
 * @see /entryJsp/ShopProductCatList.jsp
 -->

<link href="<bean:write name="SystemConfigApp" property="appContext"/>/com/goosaa/templete/default.css" type="text/css" rel="stylesheet">
<script src="/guuraaApp/javascript/guuraa.js" type="text/javascript" language="javascript" charset="UTF-8" ></script>
</head>
<body>
<html:errors/>



<div class="guuraa_ui_nav_bar1">
	<ul>
		<li class="guuraa_bt_c1">
		<a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms/admin/entryJsp/ShopProductCatFormAdd.jsp">
<img src="/guuraaApp/UiIcon/16_16_png_icons/calendar1.png" alt="" width="16" height="16" />
添加记录</a> 
		</li>
				<li class="guuraa_bt_c1">
	
<a href="#" onClick="return backPage()" ><img src="/guuraaApp/UiIcon/16_16_png_icons/shortkey.png" alt="" width="16" height="16" style="margin-bottom:-2px;"/>返回</a>

		</li>

	</ul>
</div>




<script language="javascript" type="text/javascript">
 function backPage(){
 	history.back();
 }
</script>
</div>


<div class="title_box"><h1>产品类别列表</h1></div>
<table  border='0' cellpadding='0' cellspacing='1' class="ListTable" width="100%" aligen="center">
<tr class="header"><td>catid</td><td>catName</td><td>htmlTitle</td><td>htmlKeyWord</td><td>htmlDescription</td><td>templetePath</td><td>buseSelfTemplete</td><td>编辑</td></tr>
<logic:iterate indexId="index" id="ShopProductCatItem" name="objectList">

<tr class="ListEntrydataRow<%=index.intValue()%2%>">
<td class="tdColor1"  >
<logic:empty name="ShopProductCatItem" property="catid">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="catid">
<bean:write name="ShopProductCatItem" property="catid"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="ShopProductCatItem" property="catName">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="catName">
<bean:write name="ShopProductCatItem" property="catName"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="ShopProductCatItem" property="htmlTitle">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="htmlTitle">
<bean:write name="ShopProductCatItem" property="htmlTitle"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="ShopProductCatItem" property="htmlKeyWord">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="htmlKeyWord">
<bean:write name="ShopProductCatItem" property="htmlKeyWord"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="ShopProductCatItem" property="htmlDescription">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="htmlDescription">
<bean:write name="ShopProductCatItem" property="htmlDescription"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="ShopProductCatItem" property="templetePath">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="templetePath">
<bean:write name="ShopProductCatItem" property="templetePath"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="ShopProductCatItem" property="buseSelfTemplete">
&nbsp;</logic:empty>

<logic:notEmpty name="ShopProductCatItem" property="buseSelfTemplete">

<logic:equal value="true" name="ShopProductCatItem" property="buseSelfTemplete">
是</logic:equal>
<logic:equal value="false" name="ShopProductCatItem" property="buseSelfTemplete">
否</logic:equal>
</logic:notEmpty>

</td>
	<td class="tdColor2" >
<div class="guuraa_ui_nav_bar2"><ul><li class="guuraa_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/ShopProductCatAction.do?method=readView&forward=update&type=int&objectId=<bean:write name="ShopProductCatItem" property="catid"/>"/>查看</a>
</li><li class="guuraa_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/ShopProductCatAction.do?method=readUpdate&forward=update&type=int&objectId=<bean:write name="ShopProductCatItem" property="catid"/>"/>更新</a>
</li><li class="guuraa_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/ShopProductCatAction.do?method=delete&type=int&objectId=<bean:write name="ShopProductCatItem" property="catid"/>" onclick="return deleteShopProductCat()"  >删除</a>
</li></ul><div></td>
</tr></logic:iterate>
</table>
<script language="javascript">
function deleteShopProductCat(){
var value=confirm("是否确认删除产品类别");
	 if(value==true){
	 return true;
}	 else {return false;
}
	}

</script>

</body>
</html>
