0

I actually want to accomplish the same thing a user in

Remembering checked checkboxes across pages - what's the best way?

asked. But not for php, I want it for java(Spring Portlet) and javascript.

I`m using pagination display tag and want to remember the checked checkbox while the user is navigating over the pages provided by pagination.

Community
  • 1
  • 1
user2703825
  • 1
  • 1
  • 2

1 Answers1

0

Have you used the org.displaytag.decorator.CheckboxTableDecorator, which will add the Checkboxes to your paginated list. It requries two fields, Id and FieldName. Id should be one of the class member of the respective bean class, and you can give any FieldName to the field. You have to include this inside a form element. And the same form name has to be given in the DisplayTag's form attribute.

Please see the displaytag examples link for help