I'm new to JSF. I'm following a tutorial for implementing my own (custom) JSF tags. It works, but I don't really understanding what happens behind the scenes :
My tutorial creates a customized *input* compoenet. It inherit from UIInput (javax.faces.component.UIInput), and implements encoding/decoding methods.
My problem is just the *decoding* method: when would the JSF framework call it ? I mean, the controller servlets gets various HTTP requests from browsers. How does it decide which UI components should get a chance to 'decode()' this HTTP request ? Is it based on some hidden parameter in the request ?
Thanks, I actually did this... My problem is not seeing *when* things are called, but rather understanding *why* the JSF spec decides to call them...
I other words, I'm looking for information from the following perspective: An HTTP request arrives to the controller servlet. What would the servlet do - how would it decide which UIComponents need their 'decode()' method to be called now ? Would it rely on request parameters ? session data ? etc...