I don't know where the "submitimage" tag comes from, but presuming it
inherits from the "submit" tag, you could use the "tabindex" attribute
to achieve the thing you want.

hth,
tomK


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] 
> Sent: donderdag 10 januari 2002 17:37
> To: Struts Users Mailing List
> Subject: two submit buttons
> 
> 
> 
> 
> Hi all,
> I have two submit image in my JSP . when  the user presses 
> the 'ENTER' key the
> first occurance of the Submit button in my JSP gets invoked. 
> This leads to a
> problem as my first submit button is a previous button and 
> next is the submit
> button. I cannot change the sequence of button on the jsp as 
> it directly affects
> the view.
> Can anybody suggest me how to handle this problem
> This could be of some help
> <html:submitimage styleKey="style.Button" 
> pageKey="image.PreviousButton"
> onclick="return previous();"/>
> <html:submitimage styleKey="style.Button" pageKey="image.SubmitButton"
> onclick="return Confirm();"/>
> Thanks in advance
> Regards
> Mur.
> 
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
www.Kindlesystems.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]>

Reply via email to