-
Jan 9th, 2007, 07:22 PM
#1
SWF and DisplayTag select accross pages.
hello. I'm using DisplayTag 1.1 and SWF 1.0...
It works great. Paging/sorting is wonderful.
however i have a problem.
when i select the checkbox on item 1, 3 and 5 on page 1
and then i go to page 2 and click the checkbox on items 30
then i go back to page 1
items 1, 3 and 5 are no longer selected.
the link to the next page does not contain information that i can use
to store what the user has selected.
my question is, other that AJAXing the onclick event of the
checkboxes, is there a way to do it?
or is there another alternative that doesn't use DisplayTag?
i mean, i don't HAVE to use DisplayTag.
-
Jan 10th, 2007, 01:02 AM
#2
I've never used this feature of displaytag. How does it work in a normal non SWF situation? Why is SWF breaking it?
Getting insight into questions like this might hint at a work-around.
Erwin
-
Jan 10th, 2007, 01:37 AM
#3
Hello,
Well, this is actually not swf related, but I hope it helps:
DisplayTag's pagination link is just that - link. When you click on it, it does not submit any data you entered on your form (your checkboxes). If you need the behavior you described, you need to submit form when changing page (either use javascript in your page link, or use submit buttons instead of page links) and perform bind() in your controller (assuming that you have binded your checkboxes to your model properly, of course).
Regards
Igor.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules