> > This is a limitation of the browsers and HTML. They all focus the first
> > button in the form as the default one. In theory they should not submit
> > the form at all when you hit enter, but Internet Explorer started doing
> > it, so everyone else uses the same behaviour. Sucks. :/
>
> Well, we have a trick that mostly works and expose via the
> defaultButton property of Form. I'll try to look at it later today.

I didn't quite make 'today', but it is fixed now. See
https://issues.apache.org/jira/browse/WICKET-955

Defaults in WizardButtonBar should work for most people, but if you
want something different, you can let your button bar implement
IDefaultButtonProvider (which is a new interface).

Eelco

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

Reply via email to