[gwt-contrib] [google-web-toolkit] r8152 committed - Add the updated GWT Maven plugin (which understands GWT 2.1) to the M1...

2010-05-14 Thread codesite-noreply

Revision: 8152
Author: jasonpar...@google.com
Date: Fri May 14 22:52:41 2010
Log: Add the updated GWT Maven plugin (which understands GWT 2.1) to the M1  
Maven repo.

http://code.google.com/p/google-web-toolkit/source/detail?r=8152

Added:
 /2.1.0.M1/gwt/maven/org
 /2.1.0.M1/gwt/maven/org/codehaus
 /2.1.0.M1/gwt/maven/org/codehaus/mojo
 /2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin
 /2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar.md5
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar.sha1
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.pom
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.pom.md5
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.pom.sha1

 /2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/maven-metadata.xml
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/maven-metadata.xml.md5
  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/maven-metadata.xml.sha1


===
--- /dev/null   
+++  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar	 
Fri May 14 22:52:41 2010

Binary file, no diff available.
===
--- /dev/null
+++  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar.md5	 
Fri May 14 22:52:41 2010

@@ -0,0 +1,1 @@
+cea1b3fa174c8021d0bd1c303fee8580
===
--- /dev/null
+++  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.jar.sha1	 
Fri May 14 22:52:41 2010

@@ -0,0 +1,1 @@
+2a858dba4f6e30f63f5fde7aef733e281ce680a5
===
--- /dev/null
+++  
/2.1.0.M1/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.1.google/gwt-maven-plugin-1.3.1.google.pom	 
Fri May 14 22:52:41 2010

@@ -0,0 +1,396 @@
+
+  
+http://maven.apache.org/POM/4.0.0";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";  
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0  
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

+  4.0.0
+  
+org.codehaus.mojo
+mojo-parent
+24
+  
+  gwt-maven-plugin
+  1.3.1.google
+  maven-plugin
+  Maven GWT Plugin
+  
+Maven plugin for the Google Web Toolkit.
+  
+  http://mojo.codehaus.org/gwt-maven-plugin
+  2007
+  
+2.0.9
+  
+  
+
+  http://www.apache.org/licenses/LICENSE-2.0.txt
+  Apache 2.0
+  repo
+
+  
+  
+
+  ndeloof
+  Nicolas De Loof
+  nico...@apache.org
+
+
+  charlie.collins
+  Charlie Collins
+  charlie.coll...@gmail.com
+
+
+  olamy
+  Olivier Lamy
+  ol...@apache.org
+
+  
+  
+
+  Robert Scholte
+
+
+  Stefan Hübner
+
+  
+  
+
+  gwt-maven-plugin User List
+   
codehaus-mojo-gwt-maven-plugin-users-subscr...@googlegroups.com
+   
codehaus-mojo-gwt-maven-plugin-users+unsubscr...@googlegroups.com

+  codehaus-mojo-gwt-maven-plugin-us...@googlegroups.com
+   
http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users

+
+
+  General Mojo User List
+  user-subscr...@mojo.codehaus.org
+  user-unsubscr...@mojo.codehaus.org
+  u...@mojo.codehaus.org
+   
http://archive.hausfoundation.org/lists/org.codehaus.mojo.user

+  
+ 
http://www.nabble.com/mojo---user-f11980.html
+ 
http://markmail.org/list/org.codehaus.mojo.user

+  
+
+
+  General Mojo Development List
+  dev-subscr...@mojo.codehaus.org
+  dev-unsubscr...@mojo.codehaus.org
+  d...@mojo.codehaus.org
+   
http://archive.hausfoundation.org/lists/org.codehaus.mojo.dev

+  
+ 
http://www.nabble.com/mojo---dev-f11981.html
+ 
http://markmail.org/list/org.codehaus.mojo.dev

+  
+
+  
+  
+ 
scm:svn:http://svn.codehaus.org/mojo/trunk/mojo/gwt-maven-plugin
+ 
scm:svn:https://svn.codehaus.org/mojo/trunk/mojo/gwt-maven-plugin
+ 
http://fisheye.codehaus.org/browse/mojo/trunk/mojo/gwt-maven-plugin

+  
+  
+jira
+http://jira.codehaus.org/browse/MGWT
+  
+  
+1.5
+1.5
+  
+  
+
+  org.apache.maven
+  maven-project
+  2.0.9
+
+
+  org.apache.maven
+  maven-model
+  2.0.9
+
+
+  org.apache.maven
+  maven-artifact
+  2.0.9
+
+
+  org.apache.maven
+  maven-plugin-api
+  2.0.9
+
+
+  org.apache.maven.reporting
+  maven-reporting-api
+  2.0.9
+
+
+  org.apache.maven.reporting
+  maven-reporting-impl
+   

[gwt-contrib] [google-web-toolkit] r8151 committed - Maven artifacts for GWT 2.1.0.M1

2010-05-14 Thread codesite-noreply

Revision: 8151
Author: jasonpar...@google.com
Date: Fri May 14 21:40:36 2010
Log: Maven artifacts for GWT 2.1.0.M1


http://code.google.com/p/google-web-toolkit/source/detail?r=8151

Added:
 /2.1.0.M1/gwt
 /2.1.0.M1/gwt/maven
 /2.1.0.M1/gwt/maven/com
 /2.1.0.M1/gwt/maven/com/google
 /2.1.0.M1/gwt/maven/com/google/gwt
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar.sha1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.pom
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.pom.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.pom.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/maven-metadata.xml
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/maven-metadata.xml.md5
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/maven-metadata.xml.sha1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.jar
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.jar.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.jar.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.pom
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.pom.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/2.1.0.M1/gwt-dev-2.1.0.M1.pom.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/maven-metadata.xml
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/maven-metadata.xml.md5
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-dev/maven-metadata.xml.sha1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.jar
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.jar.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.jar.sha1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.pom
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.pom.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/2.1.0.M1/gwt-servlet-2.1.0.M1.pom.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/maven-metadata.xml
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/maven-metadata.xml.md5
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-servlet/maven-metadata.xml.sha1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.jar
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.jar.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.jar.sha1
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.pom
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.pom.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/2.1.0.M1/gwt-soyc-vis-2.1.0.M1.pom.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/maven-metadata.xml
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/maven-metadata.xml.md5
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-soyc-vis/maven-metadata.xml.sha1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.jar
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.jar.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.jar.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.pom
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.pom.md5
  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/2.1.0.M1/gwt-user-2.1.0.M1.pom.sha1

 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/maven-metadata.xml
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/maven-metadata.xml.md5
 /2.1.0.M1/gwt/maven/com/google/gwt/gwt-user/maven-metadata.xml.sha1

===
--- /dev/null   
+++  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar	 
Fri May 14 21:40:36 2010

Binary file, no diff available.
===
--- /dev/null
+++  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar.md5	 
Fri May 14 21:40:36 2010

@@ -0,0 +1,1 @@
+973e39366ae241202b8a0feab7a6e0ba
===
--- /dev/null
+++  
/2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar.sha1	

[gwt-contrib] [google-web-toolkit] r8150 committed - Placeholder for 2.1.0 M1.

2010-05-14 Thread codesite-noreply

Revision: 8150
Author: jasonpar...@google.com
Date: Fri May 14 20:15:36 2010
Log: Placeholder for 2.1.0 M1.


http://code.google.com/p/google-web-toolkit/source/detail?r=8150

Added:
 /2.1.0.M1

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8149 committed - Add an EntityCounter that computes and persists a count for each entit...

2010-05-14 Thread codesite-noreply

Revision: 8149
Author: r...@google.com
Date: Fri May 14 13:11:53 2010
Log: Add an EntityCounter that computes and persists a count for each  
entity kind.

It may be run manually using a different .html entry point as needed.
Also, fix checkstyle errors.

http://code.google.com/p/google-web-toolkit/source/detail?r=8149

Added:
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/EntityCounter.java

Modified:
 /branches/2.1/bikeshed/src/META-INF/persistence.xml
 /branches/2.1/bikeshed/src/com/google/gwt/app/client/NotificationMole.java
  
/branches/2.1/bikeshed/src/com/google/gwt/mobile/client/MobileScrollPanel.java

 /branches/2.1/bikeshed/src/com/google/gwt/mobile/client/Momentum.java
 /branches/2.1/bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java
  
/branches/2.1/bikeshed/src/com/google/gwt/requestfactory/shared/RequestEvent.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/DataGenerationService.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/DataGenerationServiceAsync.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/LoadExpensesDB.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/Scaffold.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/server/DataGenerationServiceImpl.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/server/ReportGenerator.java
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/server/ReportGeneratorMain.java


===
--- /dev/null
+++  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/EntityCounter.java	 
Fri May 14 13:11:53 2010

@@ -0,0 +1,326 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.sample.expenses.server.domain;
+
+import com.google.apphosting.api.DeadlineExceededException;
+
+import java.util.logging.Logger;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.EntityManager;
+import javax.persistence.EntityTransaction;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+
+/**
+ * Stores the current entity counts.
+ */
+...@entity
+public class EntityCounter {
+
+  private static final Logger log =  
Logger.getLogger(EntityCounter.class.getName());

+
+  private static final int KIND_EMPLOYEE = 0;
+
+  private static final int KIND_EXPENSE = 1;
+
+  private static final String[] KIND_NAMES =  
{"Employee", "Expense", "Report"};

+
+  private static final int KIND_REPORT = 2;
+
+  private static final Long ONE = Long.valueOf(1L);
+
+  private static final Long ZERO = Long.valueOf(0L);
+
+  public static final EntityManager entityManager() {
+return EMF.get().createEntityManager();
+  }
+
+  public static long getEmployeeCount() {
+EntityCounter counter = getCounter();
+Long l = counter.getNumEmployees();
+return l == null ? 0 : l.longValue();
+  }
+
+  public static long getExpenseCount() {
+EntityCounter counter = getCounter();
+Long l = counter.getNumExpenses();
+return l == null ? 0 : l.longValue();
+  }
+
+  public static long getReportCount() {
+EntityCounter counter = getCounter();
+Long l = counter.getNumReports();
+return l == null ? 0 : l.longValue();
+  }
+
+  public static void reset() {
+EntityCounter counter = getCounter();
+counter.clear();
+
+EntityManager em = entityManager();
+try {
+  em.merge(counter);
+} finally {
+  em.close();
+}
+  }
+
+  public static long updateEmployeeCount() {
+return update(KIND_EMPLOYEE);
+  }
+
+  public static long updateExpenseCount() {
+return update(KIND_EXPENSE);
+  }
+
+  public static long updateReportCount() {
+return update(KIND_REPORT);
+  }
+
+  private static void copy(EntityCounter dest, EntityCounter src) {
+dest.setId(src.getId());
+dest.setMaxCheckedEmployeeId(src.getMaxCheckedEmployeeId());
+dest.setMaxCheckedExpenseId(src.getMaxCheckedExpenseId());
+dest.setMaxCheckedReportId(src.getMaxCheckedReportId());
+dest.setNumEmployees(src.getNumEmployees());
+dest.setNumExpenses(src.getNumExpenses());
+dest.setNumReports(src.getNumReports());
+  }
+
+  private static EntityCounter getCounter() {
+EntityManager em = entityManager();
+try {
+  EntityCounter co

[gwt-contrib] [google-web-toolkit] r8148 committed - Making the reason denied popup look nicer.

2010-05-14 Thread codesite-noreply

Revision: 8148
Author: jlaba...@google.com
Date: Fri May 14 12:19:05 2010
Log: Making the reason denied popup look nicer.

http://code.google.com/p/google-web-toolkit/source/detail?r=8148

Modified:
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/bikeshed/style/client/common.css
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpenseDetails.java

 /branches/2.1/bikeshed/war/blueborder.png
  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellListImpl.java


===
---  
/branches/2.1/bikeshed/src/com/google/gwt/sample/bikeshed/style/client/common.css	 
Wed May 12 12:06:30 2010
+++  
/branches/2.1/bikeshed/src/com/google/gwt/sample/bikeshed/style/client/common.css	 
Fri May 14 12:19:05 2010

@@ -82,17 +82,19 @@
   width: 250px;
 }
 .expenseDetailsErrorPopupMessage {
-  padding-bottom: 20px;
+  width: 300px;
+  padding-bottom: 10px;
   font-size: 130%;
   color: red;
+  text-align: center;
 }

 .popupPanel {
-  border: 8px solid white;
+  border: 3px solid white;
   border-right: 11px solid white;
   border-bottom: 11px solid white;
-  -webkit-border-image: url(blueborder.png) 8 11 11 8 round round;
-  -moz-border-image: url(blueborder.png) 8 11 11 8 round round;
+  -webkit-border-image: url(blueborder.png) 3 11 11 3 round round;
+  -moz-border-image: url(blueborder.png) 3 11 11 3 round round;
   padding: 10px;
 }

===
---  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpenseDetails.java	 
Thu May 13 11:35:58 2010
+++  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpenseDetails.java	 
Fri May 14 12:19:05 2010

@@ -58,16 +58,15 @@
 import com.google.gwt.user.client.ui.Anchor;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.FlexTable;
 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.HasHorizontalAlignment;
+import com.google.gwt.user.client.ui.HasVerticalAlignment;
 import com.google.gwt.user.client.ui.HorizontalPanel;
 import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.PopupPanel;
 import com.google.gwt.user.client.ui.TextBox;
 import com.google.gwt.user.client.ui.VerticalPanel;
 import com.google.gwt.user.client.ui.Widget;
-import com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter;
 import com.google.gwt.valuestore.shared.DeltaValueStore;
 import com.google.gwt.valuestore.shared.Property;
 import com.google.gwt.valuestore.shared.Record;
@@ -270,31 +269,27 @@
 });

 private ExpenseRecord expenseRecord;
-private FlexTable layout = new FlexTable();
 private TextBox reasonBox = new TextBox();
 private String reasonDenied;

 public DenialPopup() {
   super(false, true);
+  setStyleName(Styles.common().popupPanel());
   setGlassEnabled(true);
-  setWidget(layout);
-
   confirmButton.setWidth("11ex");
   cancelButton.setWidth("11ex");
-  reasonBox.getElement().getStyle().setMarginTop(8.0, Unit.PX);
-  reasonBox.getElement().getStyle().setMarginBottom(8.0, Unit.PX);
-
-  FlexCellFormatter formatter = layout.getFlexCellFormatter();
-  layout.setHTML(0, 0, "Reason for denial:");
-  layout.setWidget(1, 0, reasonBox);
-  HorizontalPanel p = new HorizontalPanel();
-  p.add(confirmButton);
-  p.add(new HTML(" "));
-  p.add(cancelButton);
-  layout.setWidget(2, 0, p);
-  formatter.setHorizontalAlignment(2, 0,
-  HasHorizontalAlignment.ALIGN_CENTER);
-  setStyleName(Styles.common().popupPanel());
+  reasonBox.getElement().getStyle().setMarginLeft(10.0, Unit.PX);
+  reasonBox.getElement().getStyle().setMarginRight(10.0, Unit.PX);
+
+  HorizontalPanel hPanel = new HorizontalPanel();
+  hPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
+  hPanel.add(new HTML("Reason:"));
+  hPanel.add(reasonBox);
+  hPanel.add(confirmButton);
+  hPanel.add(cancelButton);
+  setWidget(hPanel);
+   
cancelButton.getElement().getParentElement().getStyle().setPaddingLeft(

+  5.0, Unit.PX);
 }

 public ExpenseRecord getExpenseRecord() {
@@ -897,8 +892,8 @@
   double amount = record.getAmount();
   if (amount + totalApproved > MAX_COST) {
 syncCommit(record,
-"The total approved amount for an Expense Report cannot exceed  
$"

-+ MAX_COST);
+"The total approved amount for an expense report cannot exceed  
$"

++ MAX_COST + ".");
 return;
   }
 }
===
--- /branches/2.1/bikeshed/war/blueborder.png   Thu Mar 11 08:39:56 2010
+++ /branches/2.1/bikeshed/war/blueborder.png   Fri May 14 12:19:05 2010
@@ -2,14 +2,16 @@
  

 IHDR  ÔôUtEXtSoftware Adobe  
ImageReadyqÉe<   ÖIDATxÚä–1KÃ@ Ç/¹¤µj­n –JÅÁA*è7 ô ˆ«³è7ðC8 ]
-tu–Š[7E Š8X ¦(‚‚•ÖÖ$

[gwt-contrib] Re: Adds a mobile-friendly drag-scroll implementation. (issue530801)

2010-05-14 Thread cromwellian


Joel, I think post I/O perhaps we should add touch events support to
dispatchEvent() rather than call addEventListener directly, so you'd be
able to invoke sinkEvents(Event.TOUCH_EVENTS);. I did this for my apps
and have working code.



http://gwt-code-reviews.appspot.com/530801/diff/1/9
File /bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java
(right):

http://gwt-code-reviews.appspot.com/530801/diff/1/9#newcode57
/bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java:57: },
capture);
Memory leak?

http://gwt-code-reviews.appspot.com/530801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Fix issue 3415 and other Date/Time parsing issues. (issue534801)

2010-05-14 Thread jat

Reviewers: rchandia,

Description:
Fix issue 3415 and other Date/Time parsing issues.

Issue: 3415
Patch by: jat
Review by: rchandia


Please review this at http://gwt-code-reviews.appspot.com/534801/show

Affected files:
  M user/src/com/google/gwt/i18n/client/impl/DateRecord.java
  A user/test/com/google/gwt/i18n/client/impl/DateRecordTest.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8147 committed - Setting the total number of reports in the database and pretty printed...

2010-05-14 Thread codesite-noreply

Revision: 8147
Author: jlaba...@google.com
Date: Fri May 14 08:44:01 2010
Log: Setting the total number of reports in the database and pretty printed  
them.


http://code.google.com/p/google-web-toolkit/source/detail?r=8147

Modified:
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java

 /branches/2.1/user/src/com/google/gwt/user/cellview/client/SimplePager.java

===
---  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java	 
Fri May 14 05:12:25 2010
+++  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java	 
Fri May 14 08:44:01 2010

@@ -33,6 +33,11 @@
 @Entity
 public class Report {

+  /**
+   * The total number of reports in the database.
+   */
+  private static long REPORT_COUNT = 3750243;
+
   public static long countReports() {
 EntityManager em = entityManager();
 try {
@@ -48,6 +53,9 @@
 try {
   Query query = queryReportsBySearch(em, employeeId, department,
   startsWith, null, true);
+  if (query == null) {
+return REPORT_COUNT;
+  }
   return ((Number) query.getSingleResult()).longValue();
 } finally {
   em.close();
@@ -142,16 +150,24 @@
* @param startsWith the starting string
* @param orderBy the order of the results
* @param isCount true to query on the count only
-   * @return the query
+   * @return the query, or null to return full report count.
*/
   private static Query queryReportsBySearch(EntityManager em, Long  
employeeId,
   String department, String startsWith, String orderBy, boolean  
isCount) {

-// Construct a query string.
+// Determine which parameters to include.
 boolean isFirstStatement = true;
 boolean hasEmployee = employeeId != null && employeeId >= 0;
 boolean hasDepartment = !hasEmployee && department != null &&
 department.length() > 0;
 boolean hasStartsWith = startsWith != null && startsWith.length() > 0;
+
+// If we are counting and we don't have any query parameters, return  
null

+// to force #countReportsBySearch to return the full Report count.
+if (isCount && !hasEmployee && !hasDepartment && !hasStartsWith) {
+  return null;
+}
+
+// Construct the query string.
 String retValue = isCount ? "count(o)" : "o";
 String queryString = "select " + retValue + " from Report o";
 if (hasEmployee) {
===
---  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/SimplePager.java	 
Thu May 13 09:13:58 2010
+++  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/SimplePager.java	 
Fri May 14 08:44:01 2010

@@ -18,6 +18,7 @@
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.i18n.client.NumberFormat;
 import com.google.gwt.resources.client.ClientBundle;
 import com.google.gwt.resources.client.CssResource;
 import com.google.gwt.resources.client.ImageResource;
@@ -311,12 +312,14 @@
*/
   protected String createText() {
 // Default text is 1 based.
+NumberFormat formatter = NumberFormat.getFormat("#,###");
 PagingListView view = getPagingListView();
 int pageStart = view.getPageStart() + 1;
 int pageSize = view.getPageSize();
 int dataSize = view.getDataSize();
 int endIndex = Math.min(dataSize, pageStart + pageSize - 1);
 endIndex = Math.max(pageStart, endIndex);
-return pageStart + "-" + endIndex + " of " + dataSize;
+return formatter.format(pageStart) + "-" + formatter.format(endIndex)
++ " of " + formatter.format(dataSize);
   }
 }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8146 committed - Fixes stupid mistake in supportsTouch()

2010-05-14 Thread codesite-noreply

Revision: 8146
Author: gwt.mirror...@gmail.com
Date: Fri May 14 12:16:26 2010
Log: Fixes stupid mistake in supportsTouch()

http://code.google.com/p/google-web-toolkit/source/detail?r=8146

Modified:
 /branches/2.1/bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java

===
---  
/branches/2.1/bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java	 
Fri May 14 08:28:05 2010
+++  
/branches/2.1/bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java	 
Fri May 14 12:16:26 2010

@@ -181,8 +181,9 @@
* TODO(jgw): This should probably be implemented using deferred binding.
*/
   public static native boolean supportsTouch() /*-{
-// TODO(jgw): This doesn't return true on Android, even though touch  
works.

-return true;//!!('createTouch' in document);
+// document.createTouch doesn't exist on Android, even though touch  
works.

+var android = navigator.userAgent.indexOf('Android') != -1;
+return android || !!('createTouch' in document);
   }-*/;

   private Element element;

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8144 committed - Update rev to snapshot, fix soyc-vis...

2010-05-14 Thread codesite-noreply

Revision: 8144
Author: gwt.mirror...@gmail.com
Date: Fri May 14 08:07:31 2010
Log: Update rev to snapshot, fix soyc-vis

Review by: cramsd...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8144

Modified:
 /branches/2.1/bikeshed/scripts/maven_script.sh

===
--- /branches/2.1/bikeshed/scripts/maven_script.sh  Mon May 10 18:33:18 2010
+++ /branches/2.1/bikeshed/scripts/maven_script.sh  Fri May 14 08:07:31 2010
@@ -22,6 +22,8 @@

 for i in dev user servlet bikeshed
 do
-   mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-${i}  
-Dversion=2.0.999 -Dpackaging=jar -Dfile=build/lib/gwt-${i}.jar  
-DgeneratePom=true
+   mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-${i}  
-Dversion=2.0.999-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt-${i}.jar  
-DgeneratePom=true

 done
+touch /tmp/empty-fake-soyc-vis.jar
+mvn install:install-file -DgroupId=com.google.gwt  
-DartifactId=gwt-soyc-vis -Dversion=2.0.999-SNAPSHOT -Dpackaging=jar  
-DgeneratePom=true -Dfile=/tmp/empty-fake-soyc-vis.jar

 echo "installed the gwt libs in the maven repo"

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Setting DocType or Standards mode within generated cache.html files

2010-05-14 Thread Joel Webber
Erin,

The DOCTYPE of the script HTML won't affect the behavior of the outer page.
You should only have to put a simple  in the outer page --
that's it. If you're still having troubles with LayoutPanel after that, ping
me.

Cheers,
joel.

Le 13 mai 2010 15:04, Erin  a écrit :

> I am trying to use the TabLayoutPanel, but having issues within IE.
> Using Debug bar, I can see that the frame created from the generated
> files has document mode of IE5 Quirks. There is no DocType set within
> the generated cache.html. I have tried just adding the DocType
> definition to the page that my jJavascript reference to the module is
> on, but though the frame containing the main page is IE7Standards, the
> frame containing the module is still Quirks. Is there a setting that
> can be made in the java code or the module definition(gwt.xml) that
> can set the DocType on the frames created to hold the gwt module
> generated code.
>
> I would appreciate any assistance.
>
> Thanks,
>
>  Erin
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Setting DocType or Standards mode within generated cache.html files

2010-05-14 Thread Erin
I am trying to use the TabLayoutPanel, but having issues within IE.
Using Debug bar, I can see that the frame created from the generated
files has document mode of IE5 Quirks. There is no DocType set within
the generated cache.html. I have tried just adding the DocType
definition to the page that my jJavascript reference to the module is
on, but though the frame containing the main page is IE7Standards, the
frame containing the module is still Quirks. Is there a setting that
can be made in the java code or the module definition(gwt.xml) that
can set the DocType on the frames created to hold the gwt module
generated code.

I would appreciate any assistance.

 Thanks,

  Erin

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8143 committed - Edited PrecompressLinker wiki page to reflect minor changes made durin...

2010-05-14 Thread codesite-noreply

Revision: 8143
Author: sp...@google.com
Date: Fri May 14 10:42:56 2010
Log: Edited PrecompressLinker wiki page to reflect minor changes made  
during code review.

http://code.google.com/p/google-web-toolkit/source/detail?r=8143

Modified:
 /wiki/PrecompressLinker.wiki

===
--- /wiki/PrecompressLinker.wikiMon Mar 22 10:44:42 2010
+++ /wiki/PrecompressLinker.wikiFri May 14 10:42:56 2010
@@ -20,7 +20,7 @@

 We define a linker "precompress".  People who want it add the following  
line to their gwt.xml file:

 {{{
-
+
 }}}

 It's not added by default because not all web servers will support  
precompressed resources.  However, most web servers should be possible to  
configure such that when a request comes for foo.html, it checks for the  
existence of foo.html.gz and uses that if present and the client said it  
accepted compression.

@@ -40,7 +40,7 @@
   * `.*\.html`
   * `.*\.js`
   * `.*\.css`
-For compatibility with Jetty's DefaultServlet, among with other  
configurations, the original files are by default left in the output.   
However, the following setting causes the original files to be removed,  
leaving only the .gz files.
+For compatibility with Jetty's !DefaultServlet, among with other  
configurations, the original files are by default left in the output.   
However, the following setting causes the original files to be removed,  
leaving only the .gz files.

 {{{
-  value='false' />
+  value='false' />

 }}}

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Adds a mobile-friendly drag-scroll implementation. (issue530801)

2010-05-14 Thread jgw

Reviewers: jlabanca,

Description:
Adds a mobile-friendly drag-scroll implementation.
Changes the standard and mobile expense samples to use said scrolling.
(desktop Expense sample still uses regular scrollbars on non-touch
devices)
Adds onclick='' to cell containers, so that touch devices show tap
highlights in the right place.


Please review this at http://gwt-code-reviews.appspot.com/530801/show

Affected files:
  A /bikeshed/src/com/google/gwt/mobile/Mobile.gwt.xml
  A /bikeshed/src/com/google/gwt/mobile/client/MobileScrollPanel.java
  A /bikeshed/src/com/google/gwt/mobile/client/Momentum.java
  A /bikeshed/src/com/google/gwt/mobile/client/Point.java
  A /bikeshed/src/com/google/gwt/mobile/client/Scroller.java
  A /bikeshed/src/com/google/gwt/mobile/client/Touch.java
  A /bikeshed/src/com/google/gwt/mobile/client/TouchEvent.java
  A /bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java
  M /bikeshed/src/com/google/gwt/sample/expenses/gwt/ExpensesCommon.gwt.xml
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpenseDetails.ui.xml
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpenseList.ui.xml
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpensesMobile.java
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpensesMobileShell.java
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpensesMobileShell.ui.xml
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpensesShell.ui.xml
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/MobileExpenseList.java
  M  
/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/MobileReportList.java

  M /user/src/com/google/gwt/user/cellview/client/CellList.java
  M /user/src/com/google/gwt/user/cellview/client/CellTable.java
  M /user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: changes to hyperlink and Showcase sample (issue74801)

2010-05-14 Thread zundel

close me?


http://gwt-code-reviews.appspot.com/74801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8142 committed - Adds datastore indexes for the Expenses app.

2010-05-14 Thread codesite-noreply

Revision: 8142
Author: jlaba...@google.com
Date: Fri May 14 05:12:25 2010
Log: Adds datastore indexes for the Expenses app.

http://code.google.com/p/google-web-toolkit/source/detail?r=8142

Added:
 /branches/2.1/bikeshed/war/WEB-INF/datastore-indexes.xml
Modified:
  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java


===
--- /dev/null
+++ /branches/2.1/bikeshed/war/WEB-INF/datastore-indexes.xml	Fri May 14  
05:12:25 2010

@@ -0,0 +1,221 @@
+
+
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+
+  
+
+  
+  
+
+
+  
+
+  
+  
+
+
+  
+
+
===
---  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java	 
Wed May 12 10:44:13 2010
+++  
/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/server/domain/Report.java	 
Fri May 14 05:12:25 2010

@@ -149,7 +149,8 @@
 // Construct a query string.
 boolean isFirstStatement = true;
 boolean hasEmployee = employeeId != null && employeeId >= 0;
-boolean hasDepartment = department != null && department.length() > 0;
+boolean hasDepartment = !hasEmployee && department != null &&
+department.length() > 0;
 boolean hasStartsWith = startsWith != null && startsWith.length() > 0;
 String retValue = isCount ? "count(o)" : "o";
 String queryString = "select " + retValue + " from Report o";

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Adds a loading animation to the table. Adds timers to desktop and mobile to refresh tables as d... (issue503802)

2010-05-14 Thread jgw

On 2010/05/12 20:09:19, jlabanca wrote:


LGTM

http://gwt-code-reviews.appspot.com/503802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8141 committed - Fixes a bug in IE where we swap the tbody but don't update the childCo...

2010-05-14 Thread codesite-noreply

Revision: 8141
Author: jlaba...@google.com
Date: Fri May 14 03:42:40 2010
Log: Fixes a bug in IE where we swap the tbody but don't update the  
childContainer in CellListImpl. Also fixes a bug where the table won't  
refresh if it is set to a size of 0, then goes back to its previous state.


Review at http://gwt-code-reviews.appspot.com/529801

http://code.google.com/p/google-web-toolkit/source/detail?r=8141

Modified:
  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellListImpl.java

 /branches/2.1/user/src/com/google/gwt/user/cellview/client/CellTable.java

===
---  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellListImpl.java	 
Thu May 13 16:21:15 2010
+++  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellListImpl.java	 
Fri May 14 03:42:40 2010

@@ -44,7 +44,7 @@
   /**
* The Element that holds the rendered child items.
*/
-  private final Element childContainer;
+  private Element childContainer;

   /**
* The local cache of data in the view. The 0th index in the list  
corresponds

@@ -279,7 +279,7 @@
   String newContents = sb.toString();
   if (!newContents.equals(lastContents)) {
 lastContents = newContents;
-renderChildContents(newContents);
+childContainer = renderChildContents(newContents);
   }
 } else {
   lastContents = null;
@@ -316,6 +316,7 @@
 }
 dataSizeInitialized = true;
 this.dataSize = size;
+this.lastContents = null;
 updateDataAndView();
 onSizeChanged();
   }
@@ -467,9 +468,11 @@
* Set the contents of the child container.
*
* @param html the html to render in the child
+   * @return the new child container
*/
-  protected void renderChildContents(String html) {
+  protected Element renderChildContents(String html) {
 childContainer.setInnerHTML(html);
+return childContainer;
   }

   /**
===
---  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellTable.java	 
Thu May 13 11:08:17 2010
+++  
/branches/2.1/user/src/com/google/gwt/user/cellview/client/CellTable.java	 
Fri May 14 03:42:40 2010

@@ -424,8 +424,8 @@
   }

   @Override
-  protected void renderChildContents(String html) {
-tbody = TABLE_IMPL.renderSectionContents(tbody, html);
+  protected Element renderChildContents(String html) {
+return (tbody = TABLE_IMPL.renderSectionContents(tbody, html));
   }

   @Override

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Fixes a bug in IE where we swap the tbody but don't update the childContainer in CellListImpl. (issue529801)

2010-05-14 Thread jlabanca

Reviewers: amitmanjhi, cramsdale,

Description:
Fixes a bug in IE where we swap the tbody but don't update the
childContainer in CellListImpl.


Please review this at http://gwt-code-reviews.appspot.com/529801/show

Affected files:
  M /user/src/com/google/gwt/user/cellview/client/CellListImpl.java
  M /user/src/com/google/gwt/user/cellview/client/CellTable.java


Index: /user/src/com/google/gwt/user/cellview/client/CellListImpl.java
===
--- /user/src/com/google/gwt/user/cellview/client/CellListImpl.java	 
(revision 8109)
+++ /user/src/com/google/gwt/user/cellview/client/CellListImpl.java	 
(working copy)

@@ -44,7 +44,7 @@
   /**
* The Element that holds the rendered child items.
*/
-  private final Element childContainer;
+  private Element childContainer;

   /**
* The local cache of data in the view. The 0th index in the list  
corresponds

@@ -279,7 +279,7 @@
   String newContents = sb.toString();
   if (!newContents.equals(lastContents)) {
 lastContents = newContents;
-renderChildContents(newContents);
+childContainer = renderChildContents(newContents);
   }
 } else {
   lastContents = null;
@@ -467,9 +467,11 @@
* Set the contents of the child container.
*
* @param html the html to render in the child
-   */
-  protected void renderChildContents(String html) {
+   * @return the new child container
+   */
+  protected Element renderChildContents(String html) {
 childContainer.setInnerHTML(html);
+return childContainer;
   }

   /**
Index: /user/src/com/google/gwt/user/cellview/client/CellTable.java
===
--- /user/src/com/google/gwt/user/cellview/client/CellTable.java	(revision  
8109)
+++ /user/src/com/google/gwt/user/cellview/client/CellTable.java	(working  
copy)

@@ -424,8 +424,8 @@
   }

   @Override
-  protected void renderChildContents(String html) {
-tbody = TABLE_IMPL.renderSectionContents(tbody, html);
+  protected Element renderChildContents(String html) {
+return (tbody = TABLE_IMPL.renderSectionContents(tbody, html));
   }

   @Override


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors