|
|
|
|
|
|
|
|
A portlet UI is just like in a regular Vaadin application, a class that extends |
|
|
A portlet UI is just like in a regular Vaadin application, a class that extends |
|
|
[classname]#com.vaadin.ui.UI#. |
|
|
[classname]#com.vaadin.ui.UI#. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[source, java] |
|
|
---- |
|
|
---- |
|
|
@Theme("myportlet") |
|
|
@Theme("myportlet") |
|
|
public class MyportletUI extends UI { |
|
|
public class MyportletUI extends UI { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Otherwise, the following snippet can be used. |
|
|
Otherwise, the following snippet can be used. |
|
|
|
|
|
|
|
|
|
|
|
[source, java] |
|
|
---- |
|
|
---- |
|
|
@WebServlet(value = "/*", asyncSupported = true) |
|
|
@WebServlet(value = "/*", asyncSupported = true) |
|
|
@VaadinServletConfiguration(productionMode = false, |
|
|
@VaadinServletConfiguration(productionMode = false, |