<%@ 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="SysNavLink 添加实体类列表，path: 请情: www.juuluu.net " />

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

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



<div class="juuluu_ui_nav_bar1">
	<ul>
		<li class="juuluu_bt_c1">
		<a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms/admin/entryJsp/SysNavLinkFormAdd.jsp">
<img src="/JuuluuApp/UiIcon/16_16_png_icons/calendar1.png" alt="" width="16" height="16" />
添加记录</a> 
		</li>
				<li class="juuluu_bt_c1">
	
<a href="#" onClick="return backPage()" ><img src="/JuuluuApp/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>navid</td><td>navName</td><td>navLinkUrl</td><td>broot</td><td>parentId</td><td>parentName</td><td>bhasChildNode</td><td>编辑</td></tr>
<logic:iterate indexId="index" id="SysNavLinkItem" name="objectList">

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

<logic:notEmpty name="SysNavLinkItem" property="navid">
<bean:write name="SysNavLinkItem" property="navid"/>
</logic:notEmpty>

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

<logic:notEmpty name="SysNavLinkItem" property="navName">
<bean:write name="SysNavLinkItem" property="navName"/>
</logic:notEmpty>

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

<logic:notEmpty name="SysNavLinkItem" property="navLinkUrl">
<bean:write name="SysNavLinkItem" property="navLinkUrl"/>
</logic:notEmpty>

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

<logic:notEmpty name="SysNavLinkItem" property="broot">

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

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

<logic:notEmpty name="SysNavLinkItem" property="parentId">
<bean:write name="SysNavLinkItem" property="parentId"/>
</logic:notEmpty>

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

<logic:notEmpty name="SysNavLinkItem" property="parentName">
<bean:write name="SysNavLinkItem" property="parentName"/>
</logic:notEmpty>

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

<logic:notEmpty name="SysNavLinkItem" property="bhasChildNode">

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

</td>
	<td class="tdColor2" >
<div class="juuluu_ui_nav_bar2"><ul><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/SysNavLinkAction.do?method=readView&forward=update&type=int&objectId=<bean:write name="SysNavLinkItem" property="navid"/>"/>查看</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/SysNavLinkAction.do?method=readUpdate&forward=update&type=int&objectId=<bean:write name="SysNavLinkItem" property="navid"/>"/>更新</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/SysNavLinkAction.do?method=delete&type=int&objectId=<bean:write name="SysNavLinkItem" property="navid"/>" onclick="return deleteSysNavLink()"  >删除</a>
</li></ul><div></td>
</tr></logic:iterate>
</table>
<script language="javascript">
function deleteSysNavLink(){
var value=confirm("是否确认删除网站导航");
	 if(value==true){
	 return true;
}	 else {return false;
}
	}

</script>

</body>
</html>
