How JSF2.0 binds Managed Beans with xhtml?

Posted by rahul_d_m on Stack Overflow See other posts from Stack Overflow or by rahul_d_m
Published on 2010-05-09T18:43:21Z Indexed on 2010/05/09 18:48 UTC
Read the original article Hit count: 197

Filed under:

i have very basic question about How JSF2.0 binds Managed Beans with xhtml?

say i have inputtext with value="#{MymanagedBean.property}"

how this MymanagedBean reference is resolved in JSF 2 ?

please consider following points while answering.

  1. in ealier version i.e. with JSF 1.2 we have to write binding in faces-config.xml but with JSF 2 it is not mandatory to have faces-config.xml

  2. if you do view source of xhtml pages.. you will not find anywhere MymanagedBean reference.

then how it is done?

© Stack Overflow or respective owner

Related posts about jsf2