Using images as buttons is quite common. You can do this easily with
java.awt.* or javax.swing.*.  You can even do it in HTML, but you won't get
the button "push" effect without JavaScript and alternate images.

Explain exactly what the requirement is.

Mark 

-----Original Message-----
From: KM
To: [EMAIL PROTECTED]
Sent: 2/22/02 3:59 PM
Subject: RE: how to use an images  for submit, cancel button etc

Any more suggestions, anybody who used an image as a
button with an action defined? God why do the clients
need an image for a button? 

KM




   "Mattos, John"  wrote: Could you do the
following...border="0"/>border="0"/>src="../images/onionReset.gif"
border="0"/>Reset and submit work fine, but you need
to implement the cancel to dowhatever you need it to
do.Is that overly simplistic?John MattosSr. Developer
and ArchitectiNDEMAND345 Hudson St. 16th FloorNew
York, New York10014-----Original Message-----From: KM
[mailto:[EMAIL PROTECTED]]Sent: Friday, February 22,
2002 10:27 AMTo: Struts Users Mailing ListSubject: how
to use an images for submit, cancel button etc HiI am
trying to develop a page where the user has toselect
options from a drop down box and either clickssubmit
or cancel. The submit and cancel options areimages
instead of a buttonFollowing is my
codeproperty="action"scope="request"
value="Create">property="action"scope="request"
value="Delete">property="action"scope="request"
value="Edit">property="action"scope="request"
value="Delete"> here instead of the save, reset,
cancel buttons Iwould like to user save.gif,
reset.gif, cancel.gif etc.How to set up struts to use
this.. Any tips on how to do this is
appreciatedKM__________________________________________________Do
You Yahoo!?Yahoo! Sports - Coverage of the 2002
Olympic Gameshttp://sports.yahoo.com--To unsubscribe,
e-mail:For additional commands, e-mail:--To
unsubscribe, e-mail: For additional commands, e-mail: 

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.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]>

Reply via email to