Description of problem: The project page loads rather slowly when multiple languages are enabled for the project and the user. How reproducible: Reproducible every time. Steps to Reproduce: 1. Log in as a user that belongs to multiple language teams. 2. Go to the Projects' tab. 3. Select a project with multiple languages enabled. Actual results: The project pages takes +5 seconds to load when the number of languages is large enough (20+).
Added a Seam interceptor class that will cache bean method return values for a given scope.The project page should use this new feature to stop fetching the same data multiple times in the same page (in this case project). The project page should now load much faster even with multiple languages enabled.
Verified with Zanata version 1.4.2-SNAPSHOT (20111007-1636)