> I prefer to declare the Form as a top class instead inner class.

That is ok. This way you can also re-use the same form from different
pages/panels.

> If I declare a Form as a top class should I have a markup html for it
> because this form will be treated as a component?

Depends on your situation. Again, if you want everything clean you can
make it have its own markup. In my situation I re-use some forms on
different pages and the markup is always different, so I chose not to
have its own markup.

Wicket works both ways.

**
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to