aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/LazyGenerator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/LazyGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/LazyGenerator.java
index 0a2cce56..413a5ebc 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/LazyGenerator.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/LazyGenerator.java
@@ -207,7 +207,7 @@ public class LazyGenerator extends Generator {
}
sw.println(
- "ctx = GQuery.$(getElement()).as(" + nonLazyType.getQualifiedSourceName() + "."
+ "ctx = GQuery.$((Element) getElement()).as(" + nonLazyType.getQualifiedSourceName() + "."
+ classID + ");");
sw.println("for (int i = 0; i < closures.length(); i++) {");
sw.indent();
@@ -220,5 +220,6 @@ public class LazyGenerator extends Generator {
sw.println("};");
sw.outdent();
sw.println("}");
+ treeLogger.log(TreeLogger.Type.ERROR, sw.toString());
}
}