[ECSide] ecside导出excel问题!急……

subjin 2009-09-22
ecside导出excel时 弹出一个"处理全部数据的对话框" 点击"确定"或"取消"后
就没反应了。
可以成功的导出csv文件。
困扰了很久 寻求圈友的帮助!
web.xml配置如下:
	<filter>
		<filter-name>ecsideExport</filter-name>
		<filter-class>org.ecside.filter.ECSideFilter</filter-class>
		<init-param>
			<param-name>responseHeadersSetBeforeDoFilter</param-name>
			<param-value>true</param-value>
		</init-param>
		<init-param>
			<param-name>useEncoding</param-name>
			<param-value>true</param-value>
		</init-param>
		<init-param>
			<param-name>encoding</param-name>
			<param-value>GBK</param-value>
		</init-param>
	</filter>
	<filter-mapping>
		<filter-name>ecsideExport</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>


jsp代码如下:
<ec:table items="roleList" var="pre" 
		action="${pageContext.request.contextPath}/role.do?method=roleList"
		 retrieveRowsCallback="process" xlsFileName="角色列表.xls"
		csvFileName="角色列表.csv" showPrint="true" useAjax="false"
		doPreload="false" width="100%" listWidth="100%" height="400px"
		rowsDisplayed="17" sortable="true" resizeColWidth="true"
		filterable="true" >
			<ec:row>
				<ec:column property="roleName" title="角色名称"  
					style="text-align:center;" filterable="true" width="20%" />
				<ec:column property="remark" title="备注"  
					style="text-align:center;" filterable="true" width="60%" />
				<ec:column property="enable" title="状态" 
					style="text-align:center;" filterable="true" width="10%" >
					<!--  <script language="JavaScript"> getState('${pre.enable }');</script>-->
					<c:if test='${pre.enable=="0" }'>
						<font color="red">无效</font>
					</c:if>
					<c:if test='${pre.enable=="1" }'>
						<font color="blue">有效</font>
					</c:if>
				 </ec:column>
				 <ec:column property="操作" title="操作" viewsDenied="xls,csv,pdf" 
						style="text-align:center;" filterable="false" sortable="false" width="10%">
						<script language="JavaScript">
								getOperation('${pre.roleId}','${pre.enable}');
						</script>
				  </ec:column>
				</ec:row>
		</ec:table>
subjin 2009-09-22
请各位 帮偶 看看!
Global site tag (gtag.js) - Google Analytics