wood burning stoves 2.0*
The moose likes JSF and the fly likes Passing of an ArrayList to javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Passing of an ArrayList to javascript" Watch "Passing of an ArrayList to javascript" New topic
Author

Passing of an ArrayList to javascript

jomol jin
Greenhorn

Joined: Dec 12, 2007
Posts: 8
Can anyone help me in passing an arraylist to a javascript method,
On click of webuijsf:hyperlink i gave
return sortTest('#admin$HtmlTable.mainList}')"

Here mainList is an ArrayList, by passing like this can i get this list in the javascript method, my purpose is to sort that list using javascript.

Kindly help me in doing this
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Passing of an ArrayList to javascript
 
Similar Threads
Error while passing List as a parameter
How to Print Serial number on jsp?
Doubt in Generics
ArrayList in http response.
"-1 if this list does not contain the element." problem using arraylist