aboutsummaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/portal/portal-ui.asciidoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/documentation/portal/portal-ui.asciidoc b/documentation/portal/portal-ui.asciidoc
index 4f5335a451..78aff9b731 100644
--- a/documentation/portal/portal-ui.asciidoc
+++ b/documentation/portal/portal-ui.asciidoc
@@ -10,7 +10,7 @@ layout: page
A portlet UI is just like in a regular Vaadin application, a class that extends
[classname]#com.vaadin.ui.UI#.
-
+[source, java]
----
@Theme("myportlet")
public class MyportletUI extends UI {
@@ -72,6 +72,7 @@ the Project">>.
Otherwise, the following snippet can be used.
+[source, java]
----
@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false,