Portlet Support
Note | Commercial feature A commercial Vaadin subscription is required to use Portlet Support in your project. |
Vaadin Portlet Support for Vaadin 23 is built on top of the Portlet 3.0 Specification. The Vaadin Portlet add-on was developed and tested with Liferay 7, but can be run in other portals supporting Portlet 3.0 and JDK 11+.
Topics
- Creating Vaadin Portlets
- Describes how to build your own Vaadin Portlets and run them
- Handling Portlet Phases
- Introduces the API to use to interact with the Portlet phases and Portlet requests
- Inter-portlet Communication
- Describes how to enable Portlets to communicate with other Portlets (Vaadin or non-Vaadin) on the Portal page
- Creating Multi-Module Portlet Project
- Shows how to create a multi-module Vaadin Portlet Maven project, in which each portlet is in its own module, and frontend assets are in one module
- Adding a Vaadin Portlet Module to an Existing Multi-Module Project
- Shows how to add a new Vaadin Portlet Module to an existing Vaadin or non-Vaadin multi-module project
- Appendix A - Address Book Example Project Demonstration
- Describes how to build two Vaadin Portlets that communicate with each other as a multi-module project
Limitations and Known Issues
Vaadin Portlet does not support integration with
OSGi
, which comes with Liferay 7. Please vote for OSGi support for Vaadin Portlet if you need it in your project and leave a comment about your use cases.The
Vaadin Push
feature is not supported at the moment. Vaadin client-to-server polling can be used as a replacement.The
SPA
feature is not supported and needs to be disabled for Liferay; see the SPA issue.The Vaadin Portlet API for changing Portlet’s mode and state does not work with Liferay; see this issue.
The
@PWA
annotation and all PWA features are not supported.
Repositories
Vaadin Portlet GitHub Repository
Vaadin Portlet source codes.Vaadin Portlet Base Starter Project
Simple project to get started with building Vaadin Portlets.Vaadin Portlet Address Book Example Project
Address book build as multi-module project with inter-portlet communication.