[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Sping MVC: Bind JavaScript array to ArrayList  XML
Forum Index » J2EE Application Development
Author Message
andrew222

Newbie

Joined: 11/22/2009 14:58:13
Messages: 12
Offline

I need to bind a JavaScript array to an ArrayList. Using JQuery in a Spring MVC web application.

The ArrayList is to have it's elements' reordered on the web page by the user via JavaScript. The backend code had been taken care of, I now need to find a solution to map the JavaScript to the ArrayList.

Does anyone knows a good way to do this?
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 849
Location: Superior, CO, USA
Offline

I feel like this is a bit of a JQuery specific question. I've used ExtJS and Yahoo's YUI and in each of those the binding of a JavaScript variable to a Java variable is different (it is way easier in ExtJS BTW). I don't know how it's done in JQuery but in both ExtJS and YUI there is a JavaScript object that you bind via AJAX to the back end (basically a doGet in a servlet). Does JQuery work like that?

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
 
Forum Index » J2EE Application Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle