JSF comes with a simple controller--the FacesServlet. The FacesServlet acts as a gatekeeper, controlling navigation flow and dispatching requests to the appropriate JSF page. A Component-Based UI Framework We have set the stage for the book, so it is now time to focus on the pieces that are differentiat- ing JSF from other technologies: UIComponents. JSF is a component-based UI framework where components, such as HtmlDataTable and HtmlPanelGrid, can be viewed as prefabricated blocks that allow application developers to productively build complex applications with reusable components. It also allows application developers to focus on the application logic rather than on building the dynamic/rich functionality themselves. s Note JSF is all about components--and reusable components at that! JSF was first released in March 2004 with a subsequent point release, 1.1, in August 2004. The initial JSR (JSR-127) has been replaced by JSR-252, which delivers the JSF 1.2 release. A JSF component consists of five building blocks: · UIComponent: The UIComponent is responsible for the behavior and for accessing the data model. · Renderer: The Renderer is in charge of the markup rendered to the client for a specific component family. · RenderKit: This is a library of Renderers with a common rendering technology (for example, HTML). · Renderer-specific component subclass: The renderer-specific component subclass is a convenience class and represents renderer-specific facets and attributes. · JSP tag: The default page description language is JSP, so JSF needs to follow the contract of JSP and provide JSP tags representing each JSF component. JSF addresses the idea of a clear separation between the application logic and the visual presentation by strongly separating the UI from the underlying data model. The Renderer is in charge of the markup rendered to the client, and the UIComponent is responsible for the behav- ior and accessing data model. Figure 1-5 shows the separation of UI, behavior, and data model. C H A P T E R 1 s T H E F O U N D AT I O N O F J S F : C O M P O N E N T S 13 You are here:CodeIdol > Java > Pro JSF and Ajax > page: 3334353637383940414243
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.