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

2002-02-22 Thread KM
Ok here is the chronology The Code I posted was using buttons for cancel, submit, reset , submit etc. I asked for help using images instead of buttons. Someone suggested I use something like for the cancel button(read image) html:image src=images/cancel_button.gif width=88 height=24

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

2002-02-22 Thread Jakkampudi, ChandraseKhar
Try putting your attributes in quotes as the error message suggests. width=88 height=24 etc JC -Original Message- From: KM [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 3:06 PM To: Struts Users Mailing List Subject: Re: FW: how to use an images for submit, cancel button etc

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

2002-02-22 Thread KM
Strange I took your suggestion and put both width and heigth in qoutes, it gave me an error saying Attribute height invalid according to the specified TLD and Attribute weight invalid according to the specified TLD So I took out both of them and it works. Wonder why? I am using struts 1.01.

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

2002-02-22 Thread Jakkampudi, ChandraseKhar
Look at the TLD file or the documentation to find out what attributes are allowed for the html:image. http://jakarta.apache.org/struts/struts-html.html#image From this, you can see that height and width are not supported attributes. Alternatives: 1. write your own patch to the tag to do this.

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

2002-02-22 Thread Eddie Bush
Shouldn't html:image, then, be included as form:image rather than it's current place? It seems logical to me, but who am I to say. - Original Message - From: KM [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 3:34 PM Subject: RE: FW: how

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

2002-02-22 Thread KM
Gosh I was reading the details at img - Render an HTML img tag instead of image - Render an input tag of type image Thanks JC KM --- Jakkampudi, ChandraseKhar [EMAIL PROTECTED] wrote: Look at the TLD file or the documentation to find out what attributes are allowed for the html:image.

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

2002-02-22 Thread Eddie Bush
nevermind - it's actually exposed through both taglibs. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 3:39 PM Subject: Re: FW: how to use an images for submit, cancel button etc Shouldn't