Summary
This chapter gave you a blueprint and an understanding of what is required to write a JSF custom component. It covered topics including creating Renderers, creating renderer-specific subclasses, using external resources, registering component objects, and creating JSP tag handlers and TLDs. In later chapters, you will leverage this knowledge as the foundation for building more advanced JSF components.
The structure of how to build components will remain the same throughout the book. First you analyze the markup needed to create the intended behavior and user interface. Then you create the client-specific Renderer with all attributes needed for your component. Optionally, but recommended, you create the renderer-specific subclass that the application developer can use to customize the component at runtime. Finally, you implement support for the page description of choice—JSP. You should also now understand how to use ValueBinding and MethodBinding and how to support these concepts in your own JSF tag handlers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Jonas Jacobi and John R. Fallows
About this chapter
Cite this chapter
(2006). Defining the Date Field Component. In: Pro JSF and Ajax. Apress. https://doi.org/10.1007/978-1-4302-0128-1_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0128-1_2
Publisher Name: Apress
Print ISBN: 978-1-59059-580-0
Online ISBN: 978-1-4302-0128-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)