On 12/12/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote:


   1. Is the entire tree created before rendered property is checked?

This question is only relevent during render-response.   For any other
phase, the tree should exist.

For JSF 1.2 or when using Facelets, the entire tree should be built
first.   For JSF 1.1 without facelets, the tree is built as the tags are
processed.   This is why you sometimes need to enclose a label and a label
"for" target in a panelgroup in order to force both components to exist and
code execution time -- I believe the panelGroup forces the creation of its
children before rendering them.   You might be able to use the same trick
here.


   1. Is a component added to the UIViewRoot only if rendered ="true"

As Simon said, a component is always added.  The rendered flag indicates
whether the phases are executed for the component.

Reply via email to