martinc 2002/09/19 21:33:13 Modified: src/share/org/apache/struts/taglib/html LinkTag.java Log: Generate the 'tabindex' attribute, if it was specified. PR: 12209 Submitted by: Edwin van Nuil. Patch supplied by Antoni Reus - thanks! Revision Changes Path 1.26 +9 -4 jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java Index: LinkTag.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- LinkTag.java 9 Aug 2002 05:44:15 -0000 1.25 +++ LinkTag.java 20 Sep 2002 04:33:13 -0000 1.26 @@ -359,6 +359,11 @@ results.append(accesskey); results.append("\""); } + if (tabindex != null) { + results.append(" tabindex=\""); + results.append(tabindex); + results.append("\""); + } results.append(prepareStyles()); results.append(prepareEventHandlers()); results.append(">");
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>