JSF Code - Annotated 2
[Previous] [Main] [Next]

JSF Code - Annotated - Continued

1. <f:view> So what does the <f:view> command do?

It causes the JSF Servlet to parse the JSP page and create a tree of components. This tree serves as the foundation for parsing the JSF page. The tree is saved at the end of a user request.

Login Tree
logintree.psd.png


These are components
·They live on the Server  
·The have Properties - e.g. Name, current Value, previous value, isValid  
·They have Methods - e.g. encode and decode  
·They have Events - e.g. execute a method NOW