日期:2014-05-17 浏览次数:20759 次
private List<Agent> agentlist; private List<List<Agent>> agentlists;
<table cellpadding="0" cellspacing="0"> <s:iterator value="agentlists" id="agentlist" status="status"> <s:iterator value="%{top}" id="down"> <s:if test="#dwon.index.agtActNum"> <tr> <td class="ft-center"><s:property value="#down.agtActNum" /></td> <td class="ft-blue">[<s:property value="#down.agtSalute"/>家]</td> <td>Associate Travel、Holiday Northwest Tours,Inc<s:property value="#down.agtName" /></td> <td><a class="item-trigger" href="#"> </a></td> </tr> </table> </s:if> </s:iterator> </s:iterator>
<table cellpadding="0" cellspacing="0"> <s:iterator value="agentlists" id="agentlist" status="status"> <s:iterator value="${agentlist}//这边是不是这么取我不是很确定,但这里一定是取外层循环的那个list中被取出的那个list对象" id="down"> <s:if test="#dwon.index.agtActNum"> <tr> <td class="ft-center"><s:property value="#down.agtActNum" /></td> <td class="ft-blue">[<s:property value="#down.agtSalute"/>家]</td> <td>Associate Travel、Holiday Northwest Tours,Inc<s:property value="#down.agtName" /></td> <td><a class="item-trigger" href="#"> </a></td> </tr> </s:if> </s:iterator> </s:iterator> </table>