DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5342>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5342

html:errors tag currently requires errors.header & errors.footer to be defined

           Summary: html:errors tag currently requires errors.header &
                    errors.footer to be defined
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


There is a bug in org.apache.struts.taglib.html in the logic that checks to see 
if the errors.header is defined in ApplicaitonResources.properties before 
printing it out. The logic of the if on line 222 is wrong. It's currently set 
so that if there are any errors defined, it prints the header & footer, even 
though it does go through the trouble to see if they are defined. I think the 
or should be an and, but I'll leave that to whoever is fixing this.

This bug arose out of a thread on the struts-user list:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg19301.html

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

Reply via email to