Update of /cvsroot/displaytag/displaytag/src/org/apache/taglibs/display
In directory sc8-pr-cvs1:/tmp/cvs-serv11121/src/org/apache/taglibs/display

Modified Files:
        TableTag.java 
Log Message:
Implemented [ 749610 ] Add a id to the generated table.

Index: TableTag.java
===================================================================
RCS file: /cvsroot/displaytag/displaytag/src/org/apache/taglibs/display/TableTag.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** TableTag.java       12 Jun 2003 17:22:16 -0000      1.8
--- TableTag.java       12 Jun 2003 17:37:58 -0000      1.9
***************
*** 1358,1362 ****
          }
  
!         buf.append("<table ");
          buf.append(this.getTableAttributes().toString());
          buf.append(">\n");
--- 1358,1362 ----
          }
  
!         buf.append("<table");
          buf.append(this.getTableAttributes().toString());
          buf.append(">\n");
***************
*** 1605,1608 ****
--- 1605,1614 ----
      private String getTableAttributes() {
          StringBuffer results = new StringBuffer();
+ 
+         if (this.name != null) {
+             results.append(" id=\"");
+             results.append(this.name);
+             results.append("\"");
+         }
  
          if (this.clazz != null) {




-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to