The description of the rendered
attribute of f:viewAction
is not clear in the official documentation.
I was thinking that, if it contained an expression that evaluated to false, the action
expression would not be executed like in the following example:
<f:viewAction
action="#{javax.enterprise.context.conversation.begin()}"
rendered="#{javax.enterprise.context.conversation.isTransient()}"
/>
But the action
is always executed no matter what the rendered
attribute evaluates to.
So what is its purpose?