Update of /cvsroot/displaytag/displaytag/src/org/apache/taglibs/display
In directory sc8-pr-cvs1:/tmp/cvs-serv3267/src/org/apache/taglibs/display
Modified Files:
TableTag.java
Log Message:
Small update. Cellspacing defaults to 0.
Index: TableTag.java
===================================================================
RCS file: /cvsroot/displaytag/displaytag/src/org/apache/taglibs/display/TableTag.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TableTag.java 12 Jun 2003 18:26:26 -0000 1.11
--- TableTag.java 12 Jun 2003 18:37:26 -0000 1.12
***************
*** 473,478 ****
*
* @param obj an internal tag describing a column in this tableview
! **/
!
public void addColumn(ColumnTag obj) {
columns.add(obj);
--- 473,477 ----
*
* @param obj an internal tag describing a column in this tableview
! */
public void addColumn(ColumnTag obj) {
columns.add(obj);
***************
*** 485,489 ****
* little bit of error checking to make sure that the user is not trying
* to give us parameters that we don't expect.
! **/
public int doStartTag() throws JspException {
columns = new ArrayList(10);
--- 484,488 ----
* little bit of error checking to make sure that the user is not trying
* to give us parameters that we don't expect.
! */
public int doStartTag() throws JspException {
columns = new ArrayList(10);
***************
*** 1503,1507 ****
}
-
String qString = req.getQueryString();
if (qString != null && !qString.equals("")) {
--- 1502,1505 ----
***************
*** 1563,1567 ****
}
-
if (!this.nextRow.containsKey(new Integer(group))) {
// Key not found in the nextRow so adding this key now... remember all
the old values.
--- 1561,1564 ----
***************
*** 1666,1670 ****
}
else {
! results.append(" cellspacing=\"1\"");
}
--- 1663,1667 ----
}
else {
! results.append(" cellspacing=\"0\"");
}
***************
*** 1725,1728 ****
--- 1722,1726 ----
results.append("\"");
}
+
if (this.vspace != null) {
results.append(" vspace=\"");
***************
*** 1954,1958 ****
String email = work.substring(start, (end - start + 1));
-
results = results + work.substring(0, start) +
"<a href=\"mailto:" + email + "\">" + email + "</a>";
--- 1952,1955 ----
***************
*** 2039,2043 ****
prop.setProperty("paging.banner.no_items_found", "No {0} found.");
prop.setProperty("paging.banner.one_item_found", "1 {0} found.");
! prop.setProperty("paging.banner.all_items_found", "{0} {1} found, showing
all {2}");
prop.setProperty("paging.banner.some_items_found", "{0} {1} found,
displaying {2} to {3}");
prop.setProperty("paging.banner.include_first_last", "false");
--- 2036,2040 ----
prop.setProperty("paging.banner.no_items_found", "No {0} found.");
prop.setProperty("paging.banner.one_item_found", "1 {0} found.");
! prop.setProperty("paging.banner.all_items_found", "{0} {1} found, displaying
all {2}");
prop.setProperty("paging.banner.some_items_found", "{0} {1} found,
displaying {2} to {3}");
prop.setProperty("paging.banner.include_first_last", "false");
-------------------------------------------------------
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