I think I figured it out.....

On 5/26/06, Andrew Berman <[EMAIL PROTECTED]> wrote:
I'm having problems filling in a model when I use dynamic form elements.  I have surveys which are built depending on whatever the database calls for.  So, the hierarchy is this:

Page
    --------> Form
                  ---------> ListView
                                  -----------> Fragment (depending on type, it creates a different Fragment)
                                                       --------------> (e.g.) DropDownChoice

So, basically I pass each Fragment a question which contains a list of valid responses.  I ultimately want a list of the valid responses.  I set the modelObject in the Form to be a List.  So, how do I fill in this list properly with the selected either responseid or response object?  I think I'm just getting confused by all the layers in the hierarchy, so hopefully someone can help me sort this out.

Thanks for any help,

Andrew

Reply via email to