This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Don't get me started about those stupid light bulbs.
 
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