?
Solved

How do we retain the checkbox status(checked or unchecked) after sorting in the display tag

Posted on 2008-10-13
4
Medium Priority
?
1,932 Views
Last Modified: 2013-11-24
I added check box in one of the columns in displayTag and need to retain the check box value(checked or unchecked) when sorting with display tag.(used with Struts)
For example, first I checked the checkbox in some rows.
And then if I click some of the sortable columns, it does the sorting properly but all the check boxes are now back to 'unchecked'.
I'm using this displaytag with struts 1.2 and really need to find out how I can do this.
<display:table  requestURI="/processSimple.do" name="test33" >
 <display:column style="width: 5%" title="chk test" sortable="true">
    <input type="checkbox" name="id" value=""/>" 
 </display:column>
 <display:column property="firstName" sortable="true"/>
 <display:column property="lastName"  sortable="true"/>

Open in new window

0
Comment
Question by:tomrosen07
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
tomrosen07 earned 0 total points
ID: 22754317
Since it's taking too long to persuit this route, I have decided to not to implement this functionality
0
 

Expert Comment

by:vegoku
ID: 37855083
Accepted Solution??
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question