You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mi...@ps.ge.com on 2003/03/11 00:05:40 UTC

[Q] how to Sort on JSP without calling server side?

Hello,

I'm passing a List to JSP that has list of beans.
How I may implement Sorting on JSP side only?

any examples would be very helpful.

tnx

Best Regards.
Michael.


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


RE: [Q] how to Sort on JSP without calling server side?

Posted by Andrew Hill <an...@gridnode.com>.
JSP Tags - including the tags suppolied with struts - are executed on the
server side.
...however those tags may render javascript to the response - javascript is
of course executed on the client side. You might be able to find a tag that
renders some javascript that sorts something. You might not. Kinda depends
what it is you are sorting doesnt it?

-----Original Message-----
From: Dan Allen [mailto:dan@mojavelinux.com]
Sent: Tuesday, 11 March 2003 12:56
To: Struts Users Mailing List
Subject: Re: [Q] how to Sort on JSP without calling server side?


Maybe OT, but is there a way to sort with JSP tags, or struts tags?

Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"If you still don't like it, that's ok: that's why I'm boss. I
simply know better than you do."
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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


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


Re: [Q] how to Sort on JSP without calling server side?

Posted by Dan Allen <da...@mojavelinux.com>.
Maybe OT, but is there a way to sort with JSP tags, or struts tags?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"If you still don't like it, that's ok: that's why I'm boss. I 
simply know better than you do." 
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


RE: [Q] how to Sort on JSP without calling server side?

Posted by Steve Armstrong <bi...@sympatico.ca>.
Hi,

By JSP side I assume you mean client side which means JavaScript.  Here is
one possibility if you're displaying your list of beans (well,their
properties)in a table:

http://www.mattkruse.com/javascript/sorttable/

Cheers,
-Steve

-----Original Message-----
From: michael.korolyov@ps.ge.com [mailto:michael.korolyov@ps.ge.com]
Sent: Monday, March 10, 2003 6:06 PM
To: struts-user@jakarta.apache.org
Subject: [Q] how to Sort on JSP without calling server side?


Hello,

I'm passing a List to JSP that has list of beans.
How I may implement Sorting on JSP side only?

any examples would be very helpful.

tnx

Best Regards.
Michael.


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



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