roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r436959 - /incubator/roller/branches/roller_3.0/web/indexBody.jsp
Date Fri, 25 Aug 2006 21:25:55 GMT
Author: snoopdave
Date: Fri Aug 25 14:25:53 2006
New Revision: 436959

URL: http://svn.apache.org/viewvc?rev=436959&view=rev
Log:
Fixed setAttribute calls, how did they ever work?

Modified:
    incubator/roller/branches/roller_3.0/web/indexBody.jsp

Modified: incubator/roller/branches/roller_3.0/web/indexBody.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/indexBody.jsp?rev=436959&r1=436958&r2=436959&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/indexBody.jsp (original)
+++ incubator/roller/branches/roller_3.0/web/indexBody.jsp Fri Aug 25 14:25:53 2006
@@ -20,9 +20,9 @@
 try {
     Roller roller = RollerFactory.getRoller();
     pageContext.setAttribute("userCount", 
-        roller.getUserManager().getUsers(0,-1).size()); 
+        new Integer(roller.getUserManager().getUsers(0,-1).size())); 
     pageContext.setAttribute("blogCount", 
-        roller.getUserManager().getWebsites(null, null, null, null, null, 0, -1).size());
+        new Integer(roller.getUserManager().getWebsites(null, null, null, null, null, 0,
-1).size()));
     pageContext.setAttribute("setupError", Boolean.FALSE);
 } catch (Throwable t) {
     pageContext.setAttribute("setupError", Boolean.TRUE);



Mime
View raw message