You say the screen and action is executed twice.  This leads me to
believe the form is being submitted twice.  I had a problem like this
once when i had a javascript submit based on tabbing out of a field with
the possibility of pressing a normal submit button as well.  Pressing
the submit button would lead to two requests being made.

Your situation does not sound exactly the same, but the symptoms are
similar.  Unfortunately I do not have any fix as I just dropped the
javascript.  

john mcnally

Christopher Campbell wrote:
> 
> Hello,
> 
> I'm using an image button and the javascript
> document.<formname>.doSubmit() call to
> submit a form.
> 
> I've added the action via input type hidden as well as the following entry,
> <input type="hidden" name="eventSubmit_doDelete" value="submit">
> so that the right do-method is called in my action class.
> 
> It works, however, the action and the screen classes envolved in the request
> are called twice.
> Things work correctly (action executed only once) if i use the regular
> <input type="submit" ...>
> form entry.
> 
> Does anyone know why this is so ?
> 
> I'm using Turbine2.2b1 latest cvs build.
> 
> Thanks in advance,
> 
> Christopher
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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

Reply via email to