KrailOrg / krail

Rapid web app framework using Vaadin 8 integrated with Guice and Shiro
50 stars 19 forks source link

View name and description key have to be explicitly set #625

Open davidsowerby opened 7 years ago

davidsowerby commented 7 years ago

Yet we have to register the view with both class and key:

addEntry("private/my-news", MyNews.class, LabelKey.My_News, PageAccessControl.PERMISSION);

It feels like there should be a way to avoid having to set the keys again in the view ...

Candidates: