vaadin4spring
vaadin4spring copied to clipboard
Add TouchKit demo application
This would be really nice to have. Right now I'm trying to play with Touchkit and vaadin4spring and run into the issue of not being able to get the NavigationView managed by Spring. Therefore, no @PostConstruct methods are called and no services are used. I have now a very nice UI but useless due to not being able to use the services :O( Posted this issue on stackoverflow: http://stackoverflow.com/questions/26962415/vaadin4spring-and-vaadin-touchkit-navigationview
I answered you question on stack overflow, I hope that helps to get forward.
Thanks a lot @mstahv . I'll come back with feedback.
Hi @mstahv . The tip really helped to identify a code error. I was passing the NavigationManager a new manually instantiated view. Sorry. I removed @VaadinView annotation an treated it as any other AbstractComponentContainer and it's working fine now, with @VaadinComponent The following question would be about the best practices of, either autowiring the existing available views in the UI, or letting the views unmanaged and passing into the constructor of the view the needed services. Having this way, the UI, as the only managed bean