I just found this:
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/which
works great.


N

On Mon, Dec 10, 2012 at 3:56 PM, Nick Pratt <nbpr...@gmail.com> wrote:

> Here is a quickstart:
>
> https://dl.dropbox.com/u/107816727/quickstart.tar.gz
>
>
> Two problems:
>  1. Hit add more than once causes an exception
> 2. On form submit doesnt set the List<B> up in the A instance.
>
> Any pointers would be appreciated.
>
> Regards
>
> Nick
>
>
> On Mon, Dec 10, 2012 at 2:49 PM, Paul Bors <p...@bors.ws> wrote:
>
>> Sounds like it should be working... unless someone else on the list has
>> another quick idea of what could be wrong given the few details you have
>> provided I would advise you to create a quick start and try to see if you
>> can replicate the problem and then upload it somewhere we can get access
>> to
>> it or in a Jira ticket.
>>
>> Hopefully in doing so you'll spot what's wrong and fix it :)
>>
>> ~ Thank you,
>>   Paul Bors
>>
>> -----Original Message-----
>> From: Nick Pratt [mailto:nbpr...@gmail.com]
>> Sent: Monday, December 10, 2012 2:21 PM
>> To: users@wicket.apache.org
>> Subject: Re: Form submit with Collection<Child>
>>
>> I have an LDM that I pass in to the Panel containing the Form.  I wrap the
>> passed-in LDM IModel with a CompoundPropertyModel which I supply to the
>> Form.  All my components then use wicketid<-->propertyExpressions.
>>
>> I supply the A.b name as the Wicket Id when I construct the LV.
>>
>> N
>>
>> On Mon, Dec 10, 2012 at 2:11 PM, Paul Bors <p...@bors.ws> wrote:
>>
>> > t
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

Reply via email to