Solved

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now