Code
1 <s:iterator value="%{allmenu}" id="menu1" status="status1">
2 <s:if test="#menu1.mnParent == null">
3 <div class="Menutbg_1 cursor" onClick="SwitchMenu('${status1.index}')"><b>${menu1.mnStrname}</b></div>
4 <ul id="${status1.index}" class="submenu">
5 <s:iterator value="%{allmenu}" id="menu2" status="status2">
6 <s:if test="#menu2.mnParent.id == #menu1.id">
7 <li><a href="${menu2.mnUrlpath}" id="LeftMeun${status2.index}" onClick="DoMenu('LeftMeun${status2.index}')" target="frmright">${menu2.mnStrname}</a></li>
8 </s:if>
9 </s:iterator>
10 </ul>
11 </s:if>
12 </s:iterator>
posted on
2009-05-18 18:25
酷酷魔术师
阅读(
1441)
评论()
编辑
收藏
举报