![]() |
|||||
![]() |
|||||
![]() |
|||||
Strona startowa Farmacja i ja 2008.11, Farmacja i ja Farmacja i ja 2008.03, Farmacja i ja Farmacja i ja 2008.10, Farmacja i ja Farmacja i ja 2008.09, Farmacja i ja Farmacja i ja 2008.02, Farmacja i ja Farmacja i ja 2008.05, Farmacja i ja Farmacja i ja 2008.01, Farmacja i ja Farmacja i ja 2008.04, Farmacja i ja Farmacja i ja 2008.06, Farmacja i ja Farmacja i ja 2008.07-08, Farmacja i ja |
FirstPress - Facelets Essentials Guide to JavaServer Faces View Definition Framework (2008), Java EE, Manning[ Pobierz całość w formacie PDF ]Available as a PDF Electronic Book or Print On Demand Essentials Guide to JavaServer ™ Faces View Definition Framework 88 PAGES Bruno Aranda and Zubin Wadia Facelets About firstPress Apress’s firstPress series is your source for understanding cutting-edge technology. Short, highly focused, and written by experts, Apress’s firstPress books save you time and effort. They contain the information you could get based on intensive research yourself or if you were to attend a conference every other week—if only you had the time. They cover the concepts and techniques that will keep you ahead of the technology curve. Apress’s firstPress books are real books, in your choice of electronic or print-on-demand format , with no rough edges even when the technology itself is still rough. You can't afford to be without them. Facelets Essentials: Guide to JavaServer™ Faces View Definition Framework Dear Reader, As seasoned JavaServer™ Faces (JSF™) veterans, it has long been our desire to publish a book that helps our community to do JSF applications right. Without a doubt, one of the most instrumental technologies in making JSF a reality in production environments is the Facelets framework. Many, many JSF applications have been written without leveraging this critical framework, resulting in high performance overhead and causing developers and project stakeholders plenty of stomach acid. We emphatically aim to correct this. Our book focuses on helping you to fully leverage this powerful Facelets view definition framework within your JSF applications. After absorbing the material in this book, you will be able to write JSF view tiers with greater efficiency and yield better performance out of your applications, as compared to similar applications leveraging classic JSP™ API. The patterns we encourage in this book are a result of our nine years’ cumulative experience with JSF across three of the major Reference Implementations—Sun™, MyFaces and IBM. Writing this book about Facelets wouldn’t have been possible, of course, if Jacob Hookom hadn’t founded the project back in 2005. Since then, the project has been growing successfully with the help of the community and has become the de facto standard for JSF view definition and for the upcoming JSF2.0 release. We thank Jacob for blessing this initiative and allowing us to bring Facelets out to an even wider audience. We would also like to thank Martin Marinschek for the ideas, insight, and experience he generously lent to this initiative. Additionally, we would like to acknowledge Wolf Benz, who tried our code samples and provided valuable feedback. We look forward to you enjoying this book and benefiting from our experiences! Best regards, Bruno Aranda and Zubin Wadia Contents Facelets ..................................................................................... Why Use Facelets ......................................................................................... Creating an Application with Facelets ........................................................ Downloading Facelets ................................................................................... Adding Dependencies.................................................................................... Creating a Project Structure .......................................................................... Configuring the Web Descriptor (web.xml) ................................................. Configuring the Faces Descriptor (faces-config.xml)................................. Creating JSF Views ..................................................................................... Unified Expression Language ................................................................... Inline Text ................................................................................................... Tag Libraries .............................................................................................. Loading the Tag Libraries ........................................................................... The jsfc Attribute ........................................................................................ Facelets Templating and Template Clients............................................... Facelets Tag Reference .............................................................................. <ui:component/> ......................................................................................... <ui:composition/> ....................................................................................... <ui:debug/> ................................................................................................. <ui:decorate/>.............................................................................................. <ui:define/> ................................................................................................. <ui:fragment/>............................................................................................. <ui:include/> ............................................................................................... <ui:insert/> .................................................................................................. <ui:param/> ................................................................................................. <ui:remove/> ............................................................................................... <ui:repeat/> ................................................................................................. Creating Composition Components........................................................... Creating the inputTextLabeled Custom Component................................... Creating the simpleColumn Custom Component ....................................... Creating the scrollableDataTable Custom Component............................... Creating the editableColumn Custom Component ..................................... Reusing the Custom Tag Library ................................................................ Using Source Files from Other JAR Libraries ............................................ Extending Facelets ..................................................................................... Facelets Architecture ................................................................................... Custom Tag Development........................................................................... Using Metatags............................................................................................ Extending the ViewHandler ...................................................................... ii Facelets Essentials Facelets Essentials: Guide to JavaServer™ Faces View Definition Framework by Bruno Aranda and Zubin Wadia Facelets is a templating language developed from the ground up with JavaServer™ Faces (JSF™) in mind. Because Facelets has come about as a result of many of the concerns with JavaServer™ Pages (JSP™) API when building JSF views, it steps outside of the JSP specification and provides a highly performant, JSF-centric view technology. Its top properties are templating, code reuse, and ease of development. Focusing on these priorities allows Facelets to help make JSF suitable for large-scale projects. For example, one of the first things a Facelets developer finds is that the technology immediately leads to a reduction in user interface (UI) code. Take our advice: use Facelets in your applications instead of JSP. In this book, we will show you how to maximize your JSF productivity with Facelets by leveraging it the right contexts. Facelets Essentials iii [ Pobierz całość w formacie PDF ] |
||||
![]() |
|||||
Wszelkie Prawa Zastrzeżone! Jedyną nadzieją jest... nadzieja. Design by SZABLONY.maniak.pl. |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |