I wanted to see how
JSF works so I grabbed a book which I'm now reading. I was struck by something regarding the so called navigation model:
In plain HTML as everybody knows it, the action attribute of a form's submit button points to the resource that the form data will be posted to; it's this resource that contains the form handling logic.
In JSF however, the commandButton action attribute contains an "outcome" that indicates the page that should be displayed next, which means the form is implicitly posted to itself and then a server-side forwarding gives control to the target resource, which in this case doesn't contain form-handling logic.
Isn't this a violation of the "don't make me think" principle?