One way would be to have a form with a hidden html object that gets set by
the onClick event of each of the images.  This can then be collected by the
ActionForm and acted upon by the Action. 

Christopher Marsh-Bourdon
www.marsh-bourdon.com


-----Original Message-----
From: Harland, David [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2005 12:45
To: Struts Users Mailing List
Subject: How do you have a form with two images do two different things when
submitted

How do you have two images that submit a form but they do two different
operations.

Thanks

Dave.

This e mail is from DLA Piper Rudnick Gray Cary UK LLP.

The contents of this email and any attachments are confidential to the
intended recipient. They may not be disclosed to or used by or copied in any
way by anyone other than the intended recipient. If this email is received
in error, please contact DLA Piper Rudnick Gray Cary UK LLP on +44 (0) 8700
111111 quoting the name of the sender and the email address to which it has
been sent and then delete it.

Please note that neither DLA Piper Rudnick Gray Cary UK LLP nor the sender
accept any responsibility for viruses and it is your responsibility to scan
or otherwise check this email and any attachments. 

DLA Piper Rudnick Gray Cary UK LLP is a limited liability partnership
registered in England and Wales (registered number OC307847) which provides
services from offices in England, Belgium, Germany and the People's Republic
of China.  A list of members is open for inspection at its registered office
and principal place of business 3 Noble Street, London EC2V 7EE.  Partner
denotes member of a limited liability partnership.

DLA Piper Rudnick Gray Cary UK LLP is regulated by the Law Society and is a
member of DLA Piper Rudnick Gray Cary, a global legal services organisation,
the members of which are separate and distinct legal entities.  For further
information, please refer to www.dlapiper.com.




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


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------


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

Reply via email to