jQuery in Action, 2nd edition*
The moose likes Spring and the fly likes How can I represent a complex object as a command object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How can I represent a complex object as a command object?" Watch "How can I represent a complex object as a command object?" New topic
Author

How can I represent a complex object as a command object?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi, I'm using Spring 3.1.1.RELEASE. I was curious if it's possible to use Spring's command object feature to represent a complex object on my form. My object is



The "name" field is straightforward to represent



but if I want the state and parent fields to be represented by list boxes (e.g. <SELECT> menus), how would I do that using my command object "organization"?

- Dave
 
 
subject: How can I represent a complex object as a command object?
 
Similar Threads
Dynamic translation of XML into CSV using XSD
Problem saving a PDF document
Improving An Algorithm
One-to-One Hibernate\Spring , Child not inserted
Javadoc using Maven