summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java')
-rw-r--r--server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java b/server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java
index bed34cf6e3..104e07f02f 100644
--- a/server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java
+++ b/server/src/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java
@@ -105,8 +105,12 @@ public abstract class AbstractJavaScriptRenderer<T> extends AbstractRenderer<T>
private JavaScriptCallbackHelper callbackHelper = new JavaScriptCallbackHelper(
this);
+ protected AbstractJavaScriptRenderer(Class<T> presentationType, String nullRepresentation) {
+ super(presentationType, nullRepresentation);
+ }
+
protected AbstractJavaScriptRenderer(Class<T> presentationType) {
- super(presentationType);
+ super(presentationType, null);
}
@Override