Hi,
I have a form with a list of FormComponentPanels for phone numbers.
Currently, adding a new phone number to the list involves an ajax
request to add a new FormComponentPanel instance to the form and then
another request to submit the form.
Is there a way to achieve this without the intermediate ajax roundtrip
which adds the new component? Adding a new FormComponentPanel to the
client's DOM can easily be done with javascript, but can Wicket's form
processing handle a variable size array of inputs?
The input array would be of the form:
phoneNumber[0]="..."
phoneType[0]="..."
phoneNumber[n]="..."
phoneType[n]="..."
Besides less requests sent to the server, this is also necessary to make
such a form stateless.
Thanks,
Bertrand
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]