Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 144
SUM 2 INTEGER ARRAYS INTO 1 10 93
eclipse java  build path 6 43
program a usb light to turn on when needed 6 48
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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.

919 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

13 Experts available now in Live!

Get 1:1 Help Now