Hello!

I have a problem which might sound trivial to most of you, but I fail at 
figuring out a solution myself.

I have a bean which stores some information from a database in a Collection.
The content of the Collection is shown on a JSP page. Now I want to allow the 
users to sort the content (for example by name, by date or by title etc).

To do this I created an ActionBean named SortActionBean, which is supposed to 
take a parameter that tells it which way to sort. So far so good, but I cannot 
figure out how to go on from that point.

I thought I somehow have to get the reference to the bean which was used to 
display the data in the first place, sort the collection and then have it 
viewed again (using the request scope). But I have no idea if this is a viable 
solution or if it works that way at all.

Unfortunately I cannot go the easy way doing it with a custom tag libary like 
DisplayTag because I cannot use tables to display the data. And I lack time and 
know-how to build my own.

I would really appreciate it if you could give me any hints or suggestions that 
can help me to achieve this.

Thank you

Michael
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to