Skip to content

A library containing handy helpers for Vaadin CDI applications.

Notifications You must be signed in to change notification settings

mstahv/cdi-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Published on Vaadin  Directory Stars on vaadin.com/directory

cdi-helpers

This Vaadin add-on contains some generic helpers that are often needed in Vaadin CDI based applications.

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.

About

A library containing handy helpers for Vaadin CDI applications.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages