I am working on JSF 2.0. I created one JSF page in my project and after deploying, when i opened my JSF page in the browser and by clicking view source code i observed that some extra code is added at the last. I did not understand why that code is added at the last after deploying.
For Example the below is one of my JSF pages source code
var f = document.forms['jsfForm'];
JSF is a general-purpose MVC framework system that binds View Templates and Models via vendor-supplier Controllers (the FacesServlet and the logic processors for the JSF tags).
The most common - although not the only - way of rendering the View is to convert it to HTML for use in a web browser. You are surprised that the client version of the View should contain meta-data and functionality that makes the Controller tasks easier?
Customer surveys are for companies who didn't pay proper attention to begin with.