Re: Form input using image tag

2001-06-20 Thread Martin Cooper

What version of Struts are you using? There was a bug that caused what you
are seeing, but that was fixed in February. If you're not yet using Struts
1.0, I would encourage you to update to that now.

--
Martin Cooper


- Original Message -
From: Luna, Kat [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 04, 2001 11:47 AM
Subject: Form input using image tag


 Hi,

 I'm trying to use the html:image tag to submit a form, but the graphic
 is not rendering correctly.
 html:img works fine for display, but this is the resulting source code
 of html:image src=images/submit.gif / tag:


   tr
 tdinput type=image name= src=images/submit.gif/td
 tdinput type=image name= src=images/reset.gif/td
   /tr

 Does anyone know why there is a blank property for name showing up and
 how to get rid of this?

 Thanks

 Kat Luna
 [EMAIL PROTECTED]







Form input using image tag

2001-06-04 Thread Luna, Kat
Title: Form input using image tag





Hi,


I'm trying to use the html:image tag to submit a form, but the graphic is not rendering correctly. 
html:img works fine for display, but this is the resulting source code of html:image src="images/submit.gif" / tag:



 tr 
 tdinput type=image name= src="images/submit.gif/td
 tdinput type=image name= src="images/reset.gif/td
 /tr


Does anyone know why there is a blank property for name showing up and how to get rid of this?


Thanks


Kat Luna
[EMAIL PROTECTED] 





RE: Form input using image tag

2001-06-04 Thread Shamdasani Nimmi-ANS004
Title: Form input using image tag



Kat,

I 
have

html:image 
src="images/btn_login.gif"/

and it 
creates this:

input type="image" name="" 
src="images/btn_login.gif;jsessionid=lqwrkmnwb1"

I 
don't know if it should make a difference but try removing the space before 
/ and see if it works

-Nimmi

  -Original Message-From: Luna, Kat 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 1:47 
  PMTo: [EMAIL PROTECTED]Subject: Form input 
  using image tag
  Hi, 
  I'm trying to use the html:image tag to submit a form, but the 
  graphic is not rendering correctly. html:img 
  works fine for display, but this is the resulting source code of 
  html:image src="images/submit.gif" / tag: 
   tr  
  tdinput type="image" name=" 
  src="images/submit.gif"/td  tdinput type="image" name=" 
  src="images/reset.gif"/td  
  /tr 
  Does anyone know why there is a blank property for "name" 
  showing up and how to get rid of this? 
  Thanks 
  Kat Luna [EMAIL PROTECTED]