struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Hookom" <hooko...@uwec.edu>
Subject RE: How to let a user click a column header to sort data in a table using struts?
Date Wed, 15 Jan 2003 07:02:10 GMT
You might want to check out the display tag.  Google "display tag" it
comes with many sorting features including grouping

| -----Original Message-----
| From: Jason Yam [mailto:jason.yam@ehk.epson.com.hk]
| Sent: Wednesday, January 15, 2003 12:52 AM
| To: Struts Users Mailing List
| Subject: How to let a user click a column header to sort data in a
table
| using struts?
| 
| Hi all,
| 
|     anyone knows how to implement this sequence of operations in
struts
| (i.e. click column header to sort)?
| 
|     DisplayAction -> jsp form -> ProcessAction -> jsp result with
header
| for
| sorting -> click one header -> jsp result with header for different
| sorting
| order
| 
|     The result jsp has a table with multiple column headers.  A user
can
| click one of the column headers to sort the data in different order.
I do
| not know how to implement this in struts .  Do I need to make a form
in
| the
| result jsp so that I can make another ProcessAction for sorting.  For
| instance,
| 
|     DisplayAction -> jsp form -> ProcessAction *A* -> jsp result with
| header
| for sorting -> click one header -> ProcessAction *B* -> jsp result
with
| header for different sorting order
| 
|     How to change the struts-config to make it work?
| 
| Thank you
| 
| Jason


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message