-
1. Re: [RF 4.1.0] EL evaluation of non-rendered component during render phase
mhn Sep 3, 2012 6:51 AM (in response to logan.mauzaize.infotel.com)1 of 1 people found this helpfulYou can use c:if tags instead fo the rendered checks.
Not rendered components won't be part of the view tree and won't be evaluated therefore.
-
2. Re: [RF 4.1.0] EL evaluation of non-rendered component during render phase
logan.mauzaize.infotel.com Sep 3, 2012 7:44 AM (in response to mhn)We have forbidden usage of JSTL tags wich Facelet due to many in problems. Not sure (because it was one year ago) but JSTL tags are evaluated at page load, and not on each visit.
But I will test it.
Subsidiary question of my first post : Which features is covered by ExtendedPartialViewContextImpl#visitActivatorAtRender ?
-
3. Re: [RF 4.1.0] EL evaluation of non-rendered component during render phase
logan.mauzaize.infotel.com Sep 3, 2012 11:00 AM (in response to logan.mauzaize.infotel.com)Using c:if works.
Also I have questionned my team about JSTL tag usage with Facelet. The problem comes from Compile-Time/JSF invocation. It is explain at : http://www.znetdevelopment.com/blogs/2008/10/18/jstl-with-jsffacelets/
In this condition, the workaround is acceptable. So, thank you for the help.
However, I'm still curious about ExtendedPartialViewContextImpl#visitActivatorAtRender.
EDIT:
Comparing with JSF 2.0.6 source code, the PartialViewContextImpl#processComponents method uses VisitHint#SKIP_UNRENDERED and VisitHint#EXECUTE_LIFECYCLE.