I've got a form where I can't exactly bind a model object because of the way the form is used. On this page, the user selects from a list of product configurations (ProductConfiguration class) which belong to a Product object....so there is a one-to-many Product->ProductConfiguration. I can't pass a ProductConfiguration object into the CompoundPropertyModel because the user may choose more than one (or can I?) I'm thinking I need to bind the Product and manually add the ProductConfiguration objects to the product before submitting.
If I do it this way...how can I access each of the form fields programmatically, individually? In other words...can form field values be called w/o using a CompoundPropertyModel if needed?
Also, if there's a better way to do this, please let me know!
Thanks!
- [Wicket-user] gnarly form model issue Vincent Jenks
- Re: [Wicket-user] gnarly form model issue Igor Vaynberg
- Re: [Wicket-user] gnarly form model issue Vincent Jenks
- Re: [Wicket-user] gnarly form model issue Igor Vaynberg
- Re: [Wicket-user] gnarly form model issue Vincent Jenks
- Re: [Wicket-user] gnarly form model ... Igor Vaynberg
- Re: [Wicket-user] gnarly form mo... Vincent Jenks
- Re: [Wicket-user] gnarly for... Vincent Jenks
- Re: [Wicket-user] gnarly for... Igor Vaynberg
- Re: [Wicket-user] gnarly for... Vincent Jenks
- [Wicket-user] Re: gnarly for... Johan Compagner
