DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34137>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34137 Summary: getAttribute using iterate reuses bodycontent on 2nd call. Product: Taglibs Version: 1.2.0 Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: JNDI Taglib AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] On Windows 2000, Tomcat 5.0.27 and after successfully obtaining an LDAP result a 2nd call to getAttribute will produce the same text returned in the first call, if the first call attribute 'cn' contains data and the second call attribute 'secretary' is a missing attributr from the result. <BR> <jndi:getAttribute ref='result' attribute='cn' id='cnval' multivalue='iterate'> <%=cnval%><BR> </jndi:getAttribute> <BR> <jndi:getAttribute ref='result' attribute='secretary' id='asecval' multivalue='iterate'> <A HREF=MVC?PAGE=DISPLAY&dn=<%=asecval%>>Admin Link</A><BR> </jndi:getAttribute> fix by adding clearBody to doEndTag; bodyContent.writeOut(pageContext.getOut()); added to fix-> bodyContent.clearBody(); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
