title: Encoding and decoding of JSF pages
body: <p>I am reading <a href="https://rads.stackoverflow.com/amzn/click/com/0137012896" rel="nofollow noreferrer" rel="nofollow noreferrer">Core JavaServer Faces 3rd edition</a> and I got a question about the encoding and decoding of JSF pages. </p>
  
  <p>When the page is about to be rendered it will first go through the XHTML page containing JSF tags. Each JSF tag has a own tag handler class and they co-operate to make the component tree of that page. All other tags is ignored. </p>
  
  <p>Each component has a own renderer that knows how to generate the HTML. Now the book says:</p>
  
  <p>(This is a h:inputText tag)</p>
  
  <blockquote>
    <p>Each component has a renderer that produces HTML output, reflecting the component state. The renderer of the UIInput object asks the JSF implementation to look up the unique ID and the current value fo the expression user.name.</p>
  </blockquote>
  
  <p>The question is:</p>
  
  <p>Why does the book say that the implementation asks for the current value of the expression <code>user.name</code>? I would expect that the implementation instead asked the component - in this case <code>UIInput</code> - which had some reference to this user bean instead? Because, doesn't that class "reflects" the JSF tag in code? </p>
  
  <p>I probably have misunderstood the concept and I would like to learn it. </p>