You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by KM <kr...@yahoo.com> on 2002/02/22 20:46:18 UTC

RE:how to use an images for submit, cancel button etc

I have tried the following as suggested

<html:image src="images/cancel_button.gif" 
width=88 height=24 border=0 
property="org.apache.struts.taglib.html.CANCEL"/></td>

how ever I get an error
Attribute value should be quoted

so I tried to put value="cancel" in the above string

but it still gives me the error. Any suggestions on
how to resolve this. I will have to write the action
methods as suggested by  Mr Press later, but first I
need the image to display right?

Help???

KM

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: RE:how to use an images for submit, cancel button etc

Posted by dderry <dd...@acm.org>.
Read the error message carefully. Then look at the attribute values in your
tag. Smack yourself on the forehead with the palm of your hand and say
"Dooooooohhhhhhh!"


----- Original Message -----
From: "KM" <kr...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Friday, February 22, 2002 2:46 PM
Subject: RE:how to use an images for submit, cancel button etc


> I have tried the following as suggested
>
> <html:image src="images/cancel_button.gif"
> width=88 height=24 border=0
> property="org.apache.struts.taglib.html.CANCEL"/></td>
>
> how ever I get an error
> Attribute value should be quoted
>
> so I tried to put value="cancel" in the above string
>
> but it still gives me the error. Any suggestions on
> how to resolve this. I will have to write the action
> methods as suggested by  Mr Press later, but first I
> need the image to display right?
>
> Help???
>
> KM
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>