This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC using domain entities as form command objects

 
Martyn Clark
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am new to spring mvc and I am currently stumbling how to bind the form fields to entities that have a OneToMany relationship.
All the fields in the form create an account whereby an Address entity is added into the Collection<Address> addresses. Am I confronting this from the wrong direction should I be binding to domain object?

Thank's for any guidence on this issue I seem to be having...
 
Sergey Chunayev
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you want to add just one address at a time, or you want to have the ability to add several addresses dynamically on the same form?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic