Export on Last DisplayTag table Causes Table to Disappear from Page
--------------------------------------------------------------------
Key: DISPL-492
URL: http://jira.codehaus.org/browse/DISPL-492
Project: DisplayTag
Issue Type: Bug
Components: Export
Affects Versions: 1.1
Reporter: Linh Ly
I currently have a jsp page that contains 3 DisplayTag tables that each have a
unique ID assigned to it and have the export capability set. Two of the 3
tables are using partial list. The problem that I am running into is that when
a user tries to do an export on the 3rd (last table) the export does not work
and the table disappears from the page. Has anyone had the same problem or
knows of a solution for this strange problem. Here is what is in my JSP page:
<%@ page session="false"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<jsp:include page="header.jsp" />
<%-- Page body --%>
<h1><f:message key="logs.title" /></h1><br/>
<form action="logs" method="post">
<h2><f:message key="logs.attackLogTitle" /></h2>
<display:table name="${webattacks}" id="attackrow" class="data"
requestURI="/stealth/secure/logs" export="true" partialList="false"
pagesize="10">
<display:column property="logDate" titleKey="logs.attackDateCol"/>
<display:column property="logTime" titleKey="logs.attackTimeCol"/>
<display:column property="logType" titleKey="logs.attackTypeCol" />
<display:column property="logMsg" titleKey="logs.attackMsgCol"/>
</display:table>
<br/><br/>
<h2><f:message key="logs.windowAppLogTitle" /></h2>
<display:table name="${appLog}" sort="external" id="approw" class="data"
requestURI="/stealth/secure/logs" partialList="true" export="true"
pagesize="10" size="alSize">
<display:column titleKey="logs.windowsEventTypeCol"><f:message
key="logs.type.${approw.type}" /></display:column>
<display:column property="time" titleKey="logs.windowsEventTimeCol"/>
<display:column property="source" titleKey="logs.windowsEventSourceCol" />
<display:column property="msg" titleKey="logs.windowsEventMsgCol"/>
<display:column property="ID" titleKey= "logs.windowsEventCol"/>
</display:table>
<br/><br/>
<h2><f:message key="logs.windowSystemLogTitle" /></h2>
<display:table name="${sysLog}" sort="external" id="sysrow" class="data"
requestURI="/stealth/secure/logs" partialList="true" export="true"
pagesize="10" size="slSize">
<display:column titleKey="logs.windowsEventTypeCol"><f:message
key="logs.type.${sysrow.type}" /></display:column>
<display:column property="time" titleKey="logs.windowsEventTimeCol"/>
<display:column property="source" titleKey="logs.windowsEventSourceCol" />
<display:column property="msg" titleKey="logs.windowsEventMsgCol"/>
<display:column property="ID" titleKey= "logs.windowsEventCol"/>
</display:table>
</form>
<%@ include file="footer.jsp"%>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel