first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

JavaServer Faces in Action Notes: Chapter 1; Introducing JavaServer Faces; 1.5.2 Dissecting goodbye.jsp; 1.5.3 Examining the HelloBean class

1.5.2 Dissecting goodbye.jsp

"One of the HtmlOutputText components references the same helloBean object as the previous page. This works fine because the object lives in the application's session and consequently lives between page requests."

1.5.3 Examining the HelloBean class

"Unlike a lot of other frameworks, JSF backing beans don't have to inherit from a specific class. They simply need to expose their properties using ordinary JavaBean conventions and use specific signatures for their event-handling methods."

"Because goodbye doesn't perform any processing... we could have achieved the same effect by hardcoding the text "success" in the button's action property. This is because the navigation system will either use the literal value of an HtmlCommandButton's action property or the outcome of an action method..."

mod date: 2007-03-08T23:30:12.000Z