struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Chacón Sánchez" <danielc...@gmail.com>
Subject Re: Double Execution of Struts Actions
Date Fri, 08 Sep 2006 22:59:47 GMT
Ok let me see

2006/9/8, David Durham <ddurham@vailsys.com>:
>
> Daniel Chacón Sánchez wrote:
> > thanks Frank and Juan Pablo,
> >
> > Ok let me explain better (by the way, sorry for my english...)
> >
> >
> > Yes Juan Pablo i have this javascript:
> >
> > function *cambiarAction*(formulario, action){
> >  formulario.action = action;
> >  formulario.submit();
> >  return false;
> > }
> >
> > But not i don´t call it on a <input type="*submit*"
> > onclick="cambiarAction(blablabla.....",
> >
> > Instead of that, I call it on a link:
> >
> > <a href="#" onclick="*cambiarAction*(PersonaForm,'
> > mostrarActualizarFotografia.do....
>
> Try:
>
> function cambiarAction(...) {
>    ...
>    return false;
> }
>
> <a href="#" onclick="return cambiarAction(...)">..</a>
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message