PacktLib: Apache MyFaces Trinidad 1.2: A Practical Guide

Apache MyFaces Trinidad 1.2

Credits

About the Author

About the Reviewers

Preface

Introducing Trinidad

Background

Overview of Trinidad

General key criteria for the choosing of Trinidad

Seamidad! Ease JSF development with Seam

Summary

Structuring and Building Pages with Facelets

Facelet page composition—templating with Facelets

Facelet composition components

Using JSTL for further refinement

Summary

Most Wanted Tags and Tag Attributes

Component library structure

Standard tag attributes

Standard tag attributes in tag groups

Summary

Rendering Pages Partially

Tag-based PPR

Java-side PPR using Trinidad's RequestContext

Summary

Web Application Groundwork

Navigation

Trinidad's Dialog Framework

Authorization

Internationalization (I18n)

Polling

Setting up the application with Seam-gen

Deployment

Building a Panel-based Content

Where the Trinidad panel components live and what they support

The accordion and showDetailItem components

The combination of Accordion and showDetailItem

Skinning the panels

Summary

Building a Form

Building a form

Summary

Growing a Tree

Trinidad's tree components

ChildPropertyTreeModel—Trinidad's out of the box model

Creating a TreeNode Model

Building up a tree model

Creating the XHTML

Extending the model-view tree couple

Summary

The table and treeTable Components

The table component

The treeTable component

Summary

The Chart Component

Where the chart component is and what it supports

Summary

Building a Wizard

Defining an abstract wizard model

Defining the concrete wizard

Defining the XHTML side—the wizard's face

Summary

Dialogs: Pop-Up Your Web Application!

Using the right scope: Seam or only Trinidad

Defining a dialog-enabled navigation control

Making a dialog-enabled tree control

Revisiting the wizard—few additions make it pop-up

Summary

References

References

References