Hello folks… I’m looking for a means to add an onClick handler to all
of the DisplayTag links – in the paging banner, export banner, and column
headers (for sorting). Why? I was hoping you’d ask J I’m
popping a window open, populating it with a jsp containing a table that gleans
it’s data from a bean stored in the HttpSession. When the window closes I
need to remove the bean from the session to free up the server memory. I
intended to do it via a _javascript_ call back to the server triggered by the
onUnload() event. Problem is the onUnload() is fired when the window’s
location changes.. not just when the window closes… so clicking on any
link calls the destruction code. Assuming I can work in an onClick event to
these links I figure I’ll do something like [
] in each of the links and then adjust my function call to something like [
(closing) cleanBean();” ]. Unless one of you wizards out there have a
smarter solution… I’m always willing to learn J There are no links in the table data so I don’t need
to worry about any links but the banners and headers… Thanks in advance! Chris |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user