Cargando…

Mastering JavaServer Faces 2.2 : master the art of implementing user interfaces with JSF 2.2 /

A homogenous guide integrating the features of JSF 2.x (2.0, 2.1 and 2.2), following a "learning through examples" paradigm with its main focus on the advanced concepts of JSF. If you are a web developer who uses JSF, this is the book for you. Catering to an intermediate-advanced audience,...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Leonard, Anghel
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Dynamic Access to JSF Application Data through Expression Language (EL 3.0); EL syntax; EL operators; EL precedence of operators; EL reserved words; EL immediate and deferred evaluation; EL value expressions; Referencing a managed bean; Referencing a managed bean's properties; Referencing a managed bean's nested properties; Referencing Java SE enumerated types; Referencing collections; EL implicit objects; EL method expressions; The conditional text in JSF
  • Writing a custom EL resolverEL 3.0 overview; Working with the assignment operator; Working with the string concatenation operator; Working with the semicolon operator; Exploring lambda expressions; Working with collection objects; Summary; Chapter 2: Communication in JSF; Passing and getting parameters; Using context parameters; Passing request parameters with the tag; Working with view parameters; Calling actions on GET requests; Passing attributes with the tag; Setting property values via action listeners; Passing parameters using the Flash scope
  • Replacing the tag with the JSTL tagSending data through cookies; Working with hidden fields; Sending passwords; Accessing UI component attributes programmatically; Passing parameters via method expressions; Communicating via the binding attribute; Managed bean communication; Injecting a managed bean into another bean; Communication between managed beans using the application/session map; Accessing other managed beans programmatically; Summary; Chapter 3: JSF Scopes
  • Lifespan and Use in Managed Beans Communication; JSF scopes versus CDI scopes; The request scope
  • The session scopeThe view scope; The application scope; The conversation scope; The flow scope; The simple flow; Flows with beans; Nested flows; Configuring flows programmatically; Flows and navigation cases; Inspecting flow navigation cases; Using the initializer and finalizer; Using the flow switch; Packaging flows; Programmatic flow scope; Dependent pseudo-scope; The none scope; The custom scope; Writing the custom scope class; Resolving a custom scope EL expression; Controlling the custom scope lifespan with action listeners
  • Controlling the custom scope lifespan with the navigation handlerManaged bean instantiation; Beans injection; Summary; Chapter 4: JSF Configurations Using XML Files and Annotations
  • Part 1; JSF 2.2 new namespaces; JSF 2.2 programmatic configuration; Configuring managed beans in XML; Working with multiple configuration files; Configuring locales and resource bundles; Configuring validators and converters; Configuring navigation; Implicit navigation; Conditional navigation; Preemptive navigation; Programmatic Navigation; Configuring action listeners; Application action listeners