Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread patric
Hello, I am currently evaluating Wicket and I am trying to figure out how things work. I have a question regarding form submit and panels (or other components). Imagine a custom wicket panel which contains a text field, doing as-you-type validation using ajax. This panel is added to a f

Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread patric
Hello, I am currently evaluating Wicket and I am trying to figure out how things work. I have a question regarding form submit and panels (or other components). Imagine a custom wicket panel which contains a text field, doing as-you-type validation using ajax. This panel is added to a f

Re: Can a Panel or Component react on a form submit without any boilerplate code?

2010-06-02 Thread Igor Vaynberg
instead of a Panel use FormComponentPanel, that way it will participate in the regular form processing workflow and you can detect a submit in the correct phase: type conversion, validation, model update. -igor On Wed, Jun 2, 2010 at 7:41 AM, wrote: > Hello, > > I am currently evaluating Wicket