On Tue, 30 Oct 2012 17:44:29 -0200, Ulrich Stärk <u...@spielviel.de> wrote:
2. Create a UserSource service that looks up the User instance, build a PropertyShadowBuilder around it and bind it to the interface of the User class. Downside: requires the User entity to have an interface.
Why don't you implement a InjectionProvider that uses the UserSource to get the current logged user? This way, you can @Inject private User user;.
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org