summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAnastasia Smirnova <anasmi@utu.fi>2018-11-08 13:10:38 +0200
committerOlli Tietäväinen <ollit@vaadin.com>2018-11-08 13:10:38 +0200
commit6dfd826ab2c064cfe21e7991eb065f630e66b1ae (patch)
tree8ad504fc655713c3cd742a7a4e55fbacea20f20f /documentation
parenteafd44672650e076fc4a43362e11b47ffb0dbff1 (diff)
downloadvaadin-framework-6dfd826ab2c064cfe21e7991eb065f630e66b1ae.tar.gz
vaadin-framework-6dfd826ab2c064cfe21e7991eb065f630e66b1ae.zip
Update datamodel-properties.asciidoc (#11223)
* Update datamodel-properties.asciidoc Fixes : https://github.com/vaadin/framework/issues/11095 * Update datamodel-properties.asciidoc Remove duplicate ```setConverterFactory```
Diffstat (limited to 'documentation')
-rw-r--r--documentation/datamodel/datamodel-properties.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/datamodel/datamodel-properties.asciidoc b/documentation/datamodel/datamodel-properties.asciidoc
index ed7bb44c35..9d759a9f99 100644
--- a/documentation/datamodel/datamodel-properties.asciidoc
+++ b/documentation/datamodel/datamodel-properties.asciidoc
@@ -299,7 +299,7 @@ class MyConverterFactory extends DefaultConverterFactory {
}
// Use the factory globally in the application
-Application.getCurrentApplication().setConverterFactory(
+UI.getCurrent().getSession().setConverterFactory(
new MyConverterFactory());
----