I seem to be getting these mixed up,
im using the org.apache.strutsel.taglib.html.ELImgTag bean, <html:img>

and the property name does exist, I wonder if I should be declaring these in
my properties
file.

-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]
Sent: 10 January 2005 14:20
To: 'Struts Users Mailing List'
Subject: setting image dom properites with <html:img>


Hi,
this what I am trying to achieve,

<html:img srcKey="image.spacer" width="2" height="23" border="0"
name="spacerBody1"/>
I want to name the images so I can get at specifically in javascript with
looping through all
document.images, however when I do this I get this error,

javax.servlet.ServletException: Cannot find bean spacerBody1 in any scope

I checked the struts-html-el.tld library and there is no reference for name
attribute in the 
org.apache.strutsel.taglib.html.ELImageTag bean.

Is there a way to do this?
Also there does not seem to be any documentation for the struts tag
librarys,
is there a docs page for them anywhere for struts 1.1?

Reply via email to