Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Progress

724 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