On Mon, 18 Feb 2008 09:57:18 -0800
"Igor Vaynberg" <[EMAIL PROTECTED]> wrote:

> one way would be to keep a boolean somewhere that marks if the
> component is valid or not... but if i were you i would figure out why
> the two requests are fired and how to avoid it. can it be that your
> enter key handler does not return false as the last thing and so
> doesnt cancel browser's processing of enter key?

D'oh! You're right, there *IS* something fishy here.. In my key handler I call 
this.blur() to ensure that the field's processInput() gets called (to update 
the model).. So I am the one doing the double call, whoops ^^;
Maybe I could stop the "enter" processing from Javascript if I could figure out 
the outcome of serverside validation.. Is there a way to do this? I could try 
some document.validationflag perhaps..?

Again, many thanks for your time!


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

Reply via email to