Solved

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

Posted on 2008-10-13
4
1,925 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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

733 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