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=33064>. 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=33064 ------- Additional Comments From [EMAIL PROTECTED] 2005-04-07 03:04 ------- You need to look at the latest source... http://svn.apache.org/viewcvs.cgi/struts/taglib/trunk/src/java/org/apache/struts /taglib/html/ ... since quite a few of the HTML taglib Tags were refactored in September 2004 replacing the type of code you show. Taking the accesskey example from the SelectTag, this now looks like this... prepareAttribute(results, "accesskey", getAccesskey()); The prepareAttribute() was a new method added to the BaseHandlerTag... protected void prepareAttribute(StringBuffer handlers, String name, Object value) { if (value != null) { handlers.append(" "); handlers.append(name); handlers.append("=\""); handlers.append(value); handlers.append("\""); } } So for the simple attributes I guess it would be an easy change to make now. The only thing I'm wondering is whether anyone is relying on the fact that struts would output someattribute=""? I recently trimmed a value which stopped something being rendered on the <html:submit> tag and that cause someone a problem. -- 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]