struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbreath, Mark" <Galbre...@tessco.com>
Subject RE: how to use an images for submit, cancel button etc
Date Fri, 22 Feb 2002 21:02:53 GMT
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: struts-user@jakarta.apache.org
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:kris7077@yahoo.com]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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message