Whatever you set the 'property' attribute of the html:submit is translated to the 'name' attribute of the resulting <input type="submit"> tag.
Sri -----Original Message----- From: Gary Bartlett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 3:17 PM To: StrutsUser Maillist Subject: <html:submit> causes errors with javascript form submit Just curious - does anybody use the html:submit tag, or do folks generally just use the standard input type=submit tag. The reason I ask is that html:submit does not allow you to specify the name of the button - and as a result all buttons generated with that tag are named 'submit'. This has the effect of returning an error if you try to use javascript to submit your form (via this.form.submit() ) - which can be a real PITA to debug. Gary Bartlett __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- 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]>