I swear I am going to lose my mind over this one.  Same exact code
on two different pages one using html and one using html-el taglib.

<logic:messagesPresent>
    <html:messages id="error">
        <li><core:out value="${error}"/></li>
    </html:messages>
</logic:messagesPresent>

If I use html-el, I get a jsp error that something is null in the
page and I trace it back to the fact that it is looking running
findAttribute() to find the ActionMessages (in this case errors)
object and does not find it and throws a jsp exception.

If I manually type in the name like so

<logic:messagesPresent>
    <html:messages id="error" name="org.apache.struts.ERROR">
        <li><core:out value="${error}"/></li>
    </html:messages>
</logic:messagesPresent>

Then I get no null and it works.  Somehow, when the tag is
processed, the "name" is getting set to empty string when it is
excluded, which I just cannot understand.  It is clearly only not
working in html-el

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
umm... i guess this is my signature. 8-}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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

Reply via email to