Created bug 12754.

Actually its a long story, but we use WinRunner to record and execute test scripts. 
WinRunner refuses to reliably click image inputs with rollovers and our struts 
application. Other ASP web applications work just fine. So in comparing the two, I 
found that the ASP application sets name="submit" and id="submit". The struts 
html:image tag doesn't allow styleId to be set and name is set to the form property 
which we aren't using. I hope that styleId fixes it, otherwise I need to look at 
subclassing or reimplementing the image tag.

Will Etson

>>> "James Mitchell" <[EMAIL PROTECTED]> 09/17/02 11:46AM >>> 

What a class 'has' and what it 'can use' are different subjects (as you 
probably know). 

Are you sure you don't need the styleClass= attribute? 

While the HTML spec allows for the id attribute: 
http://www.w3.org/TR/REC-html40/sgml/dtd.html#coreattrs 

Unless I'm way off here....I'm not sure why it wasn't added. Please submit 
it as a bug into bugzilla and I'm sure Craig or someone will validate and 
fix. 


James Mitchell 
Software Engineer\Struts Evangelist 
Struts-Atlanta, the "Open Minded Developer Network" 
http://www.open-tools.org/struts-atlanta 




> -----Original Message----- 
> From: Will Etson [ mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, September 17, 2002 1:35 PM 
> To: [EMAIL PROTECTED] 
> Subject: I thought I had this figured out... 
> 
> 
> Does any one know why html:image tag does not have a styleId 
> attribute in the .tld? I did some home work and html:submit has 
> this property and ImageTag inherits from SubmitTag. What am I 
> missing here? 
> 
> Will Etson 
> 

Reply via email to