You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hohlen, John" <JH...@erac.com> on 2002/12/11 17:53:44 UTC

Help! StrutsL-EL error (HTML tag)

I'm currently encountering the following error in my JSP trying to use
Struts-EL tags.

Error in using tag library uri='/WEB-INF/struts-html-el.tld'
prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag'
has no setter method corresponding to TLD declared attribute 'styleId', (JSP
1.1 spec, 5.4.1)

I decompiled the binary code to insure the "ElImageTag" inherits the
"styleId" attribute via the
following inheritance hiearchy:

BaseHandlerTag (public declaration of "styleId")
       |
SubmitTag (Struts HTML
       |
ImageTag (Struts HTML)
       |    
ElImageTag (Strut-EL HTML)

Has anyone else encountered this problem?  I posted a similar message
yesterday but didn't get any feedback. 

Thanks a lot, JOHN


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Help! StrutsL-EL error (HTML tag)

Posted by Brian Moseley <bc...@covalent.net>.
Hohlen, John wrote:
> I'm currently encountering the following error in my JSP trying to use
> Struts-EL tags.
> 
> Error in using tag library uri='/WEB-INF/struts-html-el.tld'
> prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag'
> has no setter method corresponding to TLD declared attribute 'styleId', (JSP
> 1.1 spec, 5.4.1)

that's exactly what happened to me when i manually added styleId to 
struts-html-el.tld a couple of weeks ago, which prompted me to make my 
original post.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>