Re: Finishing wizard by pressing Enter

2007-09-12 Thread Eelco Hillenius
> It works perfect now. The only last thing I would do when accessing form > is to either use in both cases getForm() or form Right, fixed that. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: As I said earlier, in Wizard.java's method protected void onBeforeRender() { super.onBeforeRender(); Component buttonBar = get(BUTTONS_ID); if (buttonBar instanceof IDefaultButtonProvider) { IFormSubmittingComponent defaultBu

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Eelco Hillenius
> > As I said earlier, in Wizard.java's method > > protected void onBeforeRender() > { > super.onBeforeRender(); > Component buttonBar = get(BUTTONS_ID); > if (buttonBar instanceof IDefaultButtonProvider) > { > IFormSubmittingComponent defaultButton =

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.ja

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Eelco Hillenius
On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: > Eelco Hillenius wrote: > > On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: > > > >> I checked the code out with svn, and run my project with last revision, > >> however the behavior is still the same. > >> In the Wizard.java method onBeforeR

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.java method onBeforeRender() there is a condition if (buttonBar instanceof IDefaultButtonPro

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Eelco Hillenius
On 9/12/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote: > I checked the code out with svn, and run my project with last revision, > however the behavior is still the same. > In the Wizard.java method onBeforeRender() there is a condition > if (buttonBar instanceof IDefaultButtonProvider){} > which in m

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.java method onBeforeRender() there is a condition if (buttonBar instanceof IDefaultButtonProvider){} which in my case never evaluates to true and so the form never gets se

Re: Finishing wizard by pressing Enter

2007-09-10 Thread Eelco Hillenius
> > 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, w

Re: Finishing wizard by pressing Enter

2007-09-05 Thread Eelco Hillenius
On 9/5/07, Al Maw <[EMAIL PROTECTED]> wrote: > Vit Rozkovec wrote: > > what is the best way to make a Finish button the default processing > > button of the Wizard component? > > When I am in the last step of the wizard and in the form field I press > > Enter, it takes me to the previous step. I wo

Re: Finishing wizard by pressing Enter

2007-09-05 Thread Al Maw
Vit Rozkovec wrote: what is the best way to make a Finish button the default processing button of the Wizard component? When I am in the last step of the wizard and in the form field I press Enter, it takes me to the previous step. I would like to finish the wizard. Is it possible? This is a

RE: Finishing wizard by pressing Enter

2007-09-05 Thread David Leangen
t.apache.org > Subject: Finishing wizard by pressing Enter > > > Hi, > what is the best way to make a Finish button the default processing > button of the Wizard component? > When I am in the last step of the wizard and in the form field I press > Enter, it takes me to the prev

Finishing wizard by pressing Enter

2007-09-05 Thread Vit Rozkovec
Hi, what is the best way to make a Finish button the default processing button of the Wizard component? When I am in the last step of the wizard and in the form field I press Enter, it takes me to the previous step. I would like to finish the wizard. Is it possible? Thank you for any suggesti