daemonThread
daemonThread

Reputation: 243

Jsf Component Tree or ManagedBeans are used while rendering?

While render response phase , jsf mechanism uses managed beans or components tree for generating form values or view? I think if validation fail tree is used otherwise beans are used. is that true?

Upvotes: 0

Views: 109

Answers (1)

meriton
meriton

Reputation: 70584

Generally, both are used; it is up to the component to decide whether (and when) it reads which EL-expressions.

Components with failed validation / conversion will generally use the unconverted submitted value, others will evaluate the EL-expression. Component state not bound by EL-expressions will come from the component instance, even though other state on the same component might be read anew from the EL-expression.

Upvotes: 1

Related Questions