For documentation, try http://struts.apache.org/userGuide/struts-html.html.

styleId is the attribute that you want to be able to access your image from JavaScript, I believe.

-- Jeff

John McCosker wrote:

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?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to