aspose file tools*
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
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