For some reason, our admins are seeing a memory leak on the TransactionVO object that is in the class/jsp below. It is used in other classes but not in a way that I would think would cause a memory leak. It is just kept as a collection of objects retrieved from the db, then passed through the session to displaytag for viewing, same as a number of other objects in our application that are not causing leaks.
It is removed from the session after saving. Even if the person clicks off the screen before saving, I just don't see how that would matter, the session invalidates after 15 minutes and would be collected. We are using WebSphere 5.1 on AIX, displaytag v1.1. The only place I see this object used in a way that it is NOT used anywhere else is in the code below, which is using a display tag class. Has anyone else seen this problem?? Am I doing something wrong in the class/jsp below? ------------------InsertCheckBoxDecorator------------------------------- import org.displaytag.decorator.TableDecorator; import com.utils.model.TransactionVO; /** * Decorator responsible for inserting a checkbox for every row. */ public class InsertCheckBoxDecorator extends TableDecorator { /* * Retrieves the checkbox for the row. * */ public String getCustomCheckBox() { StringBuffer buffer = new StringBuffer(); TransactionVO transaction = (TransactionVO)getCurrentRowObject(); buffer.append("<input type=\"checkbox\" name=\""+ transaction.getTransactionId()+"\" >" ); return buffer.toString(); } } ------------------------jsp displaytag table------------------------------ <%List resultList = (List) session.getAttribute("searchResults"); %> <!-- list of TransactionVOObjects --> <display:table id="transaction" class="displaytag75" decorator="com.utils.decorator.InsertCheckBoxDecorator" name="<%=resultList%>" pagesize="<%=resultList.size()%>" requestURI="/utils/doResults.do" > <display:column property="customCheckBox" title=" " /> <display:column property="clientName" title="Client" sortable="true" /> </display:table> Thanks!! Kathryn K. Jones Payment Systems -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SourceForge.net Sent: Friday, February 22, 2008 5:57 AM To: [EMAIL PROTECTED] Subject: [displaytag-user] [displaytag - Help] vertical columns Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4793987 By: phelix01 Hi, is it possible to render "display:column"s vertically? If not would it be a good idea to extend the library in that way? Felix ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249318 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user