title: Explanation needed on "client side" JSF
body: <p>In the past 2 hours i was looking for a deep insight on how JSF works. I read many good explanations, but every story was only about the JSF lifecycle on the SERVER, however i'm curious about the client side. Better spoken, i'm curious how the client browser will create the appropriate http request when the user interacts with the app. Btw JSF noobie here, so as far as i understand the picture, JSF is a server side MVC framework, OK.</p>
  
  <ul>
  <li>when the client enters a url in the browser, like somedomain.com/landingpage the server side framework accross some "building" steps produces html out of JSF pages. That's clear. So the end user will be served with a html page with optionally css and/or javascript. </li>
  <li>then the user is able to make some interaction, say, to fill up a form and submit it. When he/she submits the form the browser is creating a POST request to the server with the data. The request here was made by the browser because of the implementation/specification of a html form. The server gets this requests, bakes something and responds with a view (a.t.m i doesn't care about the server part)</li>
  <li>Anther example: We have a button, and i want this button to generate some dynamic content on the page, say clicking on the button should create two new divs on the page. So in the browser, clicking on the button a click event has been created. I'm curious in what will trigger here the request to the server to serve back a new page/view with the new content? (I know AJAX could do the job, but i'm asking for the default behavior here).</li>
  </ul>
  
  <p>I asked one of my friends, and he said, that on JSF side we provide an actionListener on that button, and in the actionListener we define a bean method to be triggered for execution upon the click event. That's clear again. But what will create the request on client side? Some hidden JavaScript code? Or what?</p>
  
  <p>So generally, i don't understand JSF's client side request-triggering methods. And i'm curious about them.</p>
  
  <p>Thanks.</p>