Various helpers for apps using Vaadin CDI
A collection of helpers for applications using Vaadin CDI. Currently following helpers are available, feel free to contribute more or enhance existing ones.
- ViewPortCDIServlet - Use if you have designed your app to work with small screen devices, but your are not using TouchKit
- ViewMenu - A simple menu component that automatically generates a menu based on the views available in the application. This part expects you are using Vaadin Navigator for view changes. ViewMenuItem annotation is used to provide metadata like icons for the views.
- ViewMenuLayout is a basic top level layout that can be used with the ViewMenu. Using this you can take advantage of the "responsive menu" features from Valo theme, similar as in demo.vaadin.com/valo-theme
- ViewMenuUI is a UI with ViewMenuLayout, fully configured with CDIViewProvider. Just register that in you application and all you need to do is to add your actual views and annotate them with ViewMenuItem (and CDIView).
The vaadin-cdi is declared as transitive dependency, so only cdi-helpers is needed as a dependency.s
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
Updated to latest version
- Apache License 2.0
- Vaadin 8.0+
- Vaadin 8.1+ in 2.2
- Vaadin 7.4+ in 1.14
- Vaadin 7.3+ in 1.9
- Browser Independent