Shilpa Nalgonda wrote:

Thanks for the references, but just replacing html:submit with the below
line worked for me
<span class="right"><html:image src='img/next.gif' value='Submit'
title='Submit' onclick='this.submit();' /></span>

-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 12:50 PM
To: Struts Users Mailing List
Subject: Re: form submit problem...


Jim Barrows wrote:





-----Original Message-----
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 9:15 AM
To: Struts Users Mailing List
Subject: form submit problem...


I am trying to submit a form with users email and password, such that when the user ckicks on next the checkCustomer.do action is executed. I am using html:submit to display the next button as below:" <span class="right"><html:submit value="next"/></span> "

But i do not want to use html:submit as i have to display a
img  button .
How can i do that.





I would also suggest: http://wiki.apache.org/struts/StrutsCatalogMultipleImageTagsSimplified

Michael





This is because, apparently, you are only using one image button. If you have two, then you need these other suggestions. Sometimes, to make sure your code is ready for "prime time", it is good to code as if someone might add another image button later, even though you don't need it now. Just a suggestion. If your page people decide to add a button later, you don't want to have to redo all your internal logic. Know what I mean?


Michael


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



Reply via email to