How to detect model changes in form submission

2008-06-14 Thread galbelli
Is there an easy way to detect what model objects have changed as a result of a form submission? I see that wicket compares the old values to the submitted values but where can I hook into tthat change detection? I have a data grid with many rows and only a few could change. -- View this message

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread galbelli
, 2008 at 3:39 PM, galbelli [EMAIL PROTECTED] wrote: I am creating a DefaultDataTable dynamically as I only know the number of columns at runtime. All is working nicely but I now need to have one of the columns contain a TextField and not a Label. I am receiving the following error

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread galbelli
put on a span. That would be a panel or fragment (as suggested). Did you see my earlier post about a FragmentColumn class? It might be useful in your case. On Thu, Jun 12, 2008 at 12:50 PM, galbelli [EMAIL PROTECTED] wrote: Not sure I understand how to accomplish this. Even if I wrap

How to add a TextField in a Dynamically created DefaultDataTable

2008-06-11 Thread galbelli
I am creating a DefaultDataTable dynamically as I only know the number of columns at runtime. All is working nicely but I now need to have one of the columns contain a TextField and not a Label. I am receiving the following error: WicketMessage: Component cell must be applied to a tag of type