You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2009/03/02 17:25:50 UTC

[OT] Re: Every action is getting called twice

VenuGopalArkala wrote:
> if ur using <html:submit ...... onClick='formSubmit()'>
> and in js ur giving
> function formSubmit(){
> 		document.populationSetForm.addNewR.value = '';
> 		form.submit(); // this is the problem			
> }
> 
> Instead of form.submit() give return true; // ur problem will be solved

O_o

1) Original poster was using Struts 2
2) Original poster wasn't having an issue with forms
3) Original poster posted a year ago

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org