With the form utiities set up as a plugin, you can name your form fields in such a way that they are converted into arrays or structs for you.
I don't use populateModel() that comes with ColdBox so I don't know if it will automatically populate composite objects, but that plugin shoud get you going in the right direction.
Thanks!
~Brad
Sent from my ASUS Eee Pad
>--
>You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
>To post to this group, send email to col...@googlegroups.com
>To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
>For more options, visit this group at http://groups-beta.google.com/group/coldbox
>For News, visit http://blog.coldbox.org
>For Documentation, visit http://wiki.coldbox.org
>
I have done something like this a while back using Brian Kotek's form utilities. So the naming of the form fields determines the datatype, and then go from there. My implimentation wasn't generic, but it could be a good starting point.
- sent by a little green robot powered device