struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject [OT] Re: Every action is getting called twice
Date Mon, 02 Mar 2009 16:25:50 GMT
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


Mime
View raw message