• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Dynamic List binding Javascript to spring (LazyList)

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I have been searching this topic for a couple of days now. I have seen pages from Matt Fleming about using a lazylist so that if I add a row to a form from the client side (javascript) it will add to the end of the lazylist....my issue is that Im not sure how to exactly get the form fields added by javascript to bind via spring. Can anybody help me out or point me in the right direction? Thanks
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Did you got solution to this problem? I am also facing the same issue. Appreciate if you can share the solution.

Thanks
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can take a look here and here
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Alaa Nassef wrote: You can take a look here and here



John Lintini wrote:I have seen pages from Matt Fleming about using a lazylist



 
Alaa Nassef
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, Didn't see the part about you already seeing the Matt Flemming pages. Anyway, you have to create a wrapper for the lazylist, and a model attribute, and spring will do the binding for you. For example



And in your controller



Code very similar to the one above is working fine in my project
 
reply
    Bookmark Topic Watch Topic
  • New Topic