So, create an IComponentInstantiationListener that looks for Forms and
adds the behavior to them.

On 1/27/08, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> On Jan 27, 2008 12:07 PM, James Carman <[EMAIL PROTECTED]> wrote:
> > True, I guess you could create your own form superclass that does the
> > default behavior you want.
>
> Yuk...I'd hate to go through my *entire* application and replace
> org.apache.wicket.Form with com.mysite.MySpecialForm.  very messy.
>
> that's why global component instanciation listeners were invented.  =)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to