Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3625385
By: tfenne

I could be wrong, but I don't really see a way to do this today with display
tag the way it is.  I think it could probably be done by reverse-engineering
(a strong term) the way display tag generates links and biulding the links 
yourself
though.

What you'd essentially need to do is have the whole display table wrapped in
a form - it sounds like you have this already.  Then have the next/previous
links submit that form with the addition of the parameters that manage 
paging/sorting
etc.  If you could do that, you could then add a little chunk of logic (JSTL
tags or scriptlet could do it) to pull in all the values of the checkbox 
submitted
on the previous page and write them back out as a hidden field on the current
page.

Anyway, from what I can see it would appear that the way display tag builds
it's paging links, you can't get it to trigger a form submit.  Event if you
specified requestURI="javascript:myFunc()" and had your function submit the
form....I think you'd end up with malformed paging URLs that looked like:
  <a href="javascript:myFunc()?foo=bar&l=1238"/>

Perhaps one of the developers can suggest a workaround for this - or better
yet something I've missed :)

-Tim Fennell
Stripes: http://stripes.mc4j.org/

______________________________________________________________________
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to