-
1. Re: View rebuild on each request
ben.maisano Aug 25, 2011 2:02 PM (in response to ben.maisano)Update:
After some more debugging I have some more information....
The AjaxViewHandler (which has a member variable of the FaceletsViewHandler) has developmentMode=true set. I'm not sure if this is causing facelets to not cache any views so any changes would be refreshed during development cycles...?? Its been very difficult to find any information on facelets/JSF caching of views and the behavior and controlling that. Furthermore, when I add config param:
<context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>false</param-value> </context-param> This did not take! In debugger I still see true set. Since we have a lot of subviews I also tried
com.sun.faces.numberOfLogicalViews and
com.sun.faces.numberOfViewsInSession
to 1000 up from 15(default) and this had no effect.
I also tried changing to client side state saving without any luck. Running out of ideas....hope someone can help....
It seems Seam 2.1 auto-initializes RichFaces and I'm not sure if that has something to do with it.....
-
2. Re: View rebuild on each request
ben.maisano Aug 26, 2011 11:28 AM (in response to ben.maisano)Can someone at least expalin to me if facelets/AjaxViewHandler is suppose to rebuild the entire component tree on every ajax request or not? Any insight into how views are cached/etc would be helpful, thanks.