labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r745003 - /labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java
Date Tue, 17 Feb 2009 12:29:16 GMT
Author: simoneg
Date: Tue Feb 17 12:29:16 2009
New Revision: 745003

URL: http://svn.apache.org/viewvc?rev=745003&view=rev
Log:
LABS-296 : xhtml errors in smartlist

Modified:
    labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java

Modified: labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java?rev=745003&r1=745002&r2=745003&view=diff
==============================================================================
--- labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java
(original)
+++ labs/magma/branches/0.0.1/website-beansview/src/main/java/org/apache/magma/website/beansview/SmartListProducer.java
Tue Feb 17 12:29:16 2009
@@ -127,9 +127,9 @@
 		int po = Math.max(-3, currentpage * -1);
 		while (po < 7 && currentpage + po <= totalpage) {
 			if (po == 0) {
-				ret.append(" <b>");
+				ret.append(" <strong>");
 				ret.append(Integer.toString(currentpage + 1));
-				ret.append("</b> ");
+				ret.append("</strong> ");
 			} else {
 				ret.append(" <a href=\"start-" + Math.max(0, start + (len * po)) + "\">");
 				ret.append(Integer.toString(currentpage + po + 1));
@@ -180,6 +180,7 @@
 				tables.write(new LocalizableString("sort").toString());
 				tables.write("\"/>");
 			}
+			tables.write("</a>");
 			tables.write("</th>");					
 		} else {
 			super.createFieldNodeHeader(fldn, tables);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message