<%@ taglib uri="emed-html" prefix="html"%>
<%@ taglib uri="emed-logic" prefix="emed" %>
<%@ page contentType="text/html;charset=utf-8"%>
<html>
<head>
</head>
<body>
<script language="JavaScript">
swithSignle = function (id){
alert("vvvvvvvvvvvvvvvvvv");
alert(id);
var obj = document.getElementById(id);
if (obj.style.visibility == "visible"){
obj.style.visibility = "hidden";
obj.style.position = "absolute";
}
else{
obj.style.visibility = "visible";
obj.style.position = "relative";
}
}
</script>
<fmt:bundle basename="resourceBundle">
<form name='form_<c:out value="${requestScope.responseId}"/>'>
<!-- 开始循环 -->
<table class="portlet-table">
<html:define name="output" id="list" property="advicesGroupBean" scope="request" toScope="page" />
<emed:forEach items="${list}" var="item" varStatus="ii">
<tr id="GroupTd">
<td colspan="2">
<span class="portlet-span">
<b><html:write name="item" property="groupField"/>:</b>
<html:write name="item" property="recordNum"/>条危机 </span>
</td>
<td class="portlet-table-td-right"><a href=""><span class="portlet-span">More...</span></a></td>
</tr>
<tr>
<td colspan="3" align="center">
<a href="#" onclick="javascript:switchSingle('news_detail');"><span id="span1" style="FONT-SIZE: 12pt;COLOR: #C0C0C0;">点击查看</span></a>
<input name='button1' type='button' class='portlet-form-button' value='cccc' onclick="javascript:submitSearch('news_detail');" />
</td>
</tr>
<tr >
<td colspan="3">
<div id="news_detail" style="visibility: hidden; position: absolute">
<table border="0">
<emed:forEach items="${item.detailbean}" var="itemd" varStatus="jj">
<tr>
<td width="120">
[<html:hashwrite name="itemd" property="crawl_media_date"/>]
</td>
<td width="100" align="center">
<html:hashwrite name="itemd" property="crawl_media_name"/>
</td>
<td class="portlet-item">
<a href="<html:hashwrite name="itemd" property="crawl_url"/>" title='<html:hashwrite name="itemd" property="crawl_title"/>' ><html:hashwrite name="itemd" property="crawl_title" showMaxLength="30" /></a>
</td>
</tr>
</emed:forEach>
</table>
</div>
</td>
</tr>
</emed:forEach>
</table>
<!-- 循环结束 -->
</form>
</fmt:bundle>
</body>
</html>