Browse Source

Using correct tags in the portal ui docs

There are not [source, java] tags.
tags/8.7.0.beta1
DiegoSanzVi 5 years ago
parent
commit
a3fceafd47
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      documentation/portal/portal-ui.asciidoc

+ 2
- 1
documentation/portal/portal-ui.asciidoc View File

@@ -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,

Loading…
Cancel
Save