j2ee_-_jsf_-_mastering_java_server_faces_-_wiley_-_2004

Page 480

Index facets for, 209–210 panelGrid tag for, 208, 216–218 tag libraries. See JSF tag libraries; Tiles tag library (Struts) TagLibs. See JSF tag libraries technical support for CD-ROM with this book, 432 temperature conversion JSF/JSP integration example, 160–167 TextArea Renderer, 79 three-tiered model for login, 332–335, 340 Tiles tag library (Struts), 33–35 .tld files (descriptor files for tag libraries), 306–308 Tomcat, obtaining, 108 tool support, 48, 152–153 toString() method, 198 two-tiered model for login, 330–332 type conversion. See conversion; Converter components

U UI components. See also UIComponent class; UIComponentBase class; specific components application models, 61–62 associating Renderer with, 77–78 component hierarchy, 52, 53 component identifiers, 53–54 component model, 61 component trees, 54–56 configuring event listeners, 203–208 converting between model properties and UI strings, 198–200 data models, 61–62 displaying error messages, 202 facets, 56–60 function separated from appearance in, 52–53 generic attributes, 60–61 id attributes, 182, 240 methods for creating, 50 overview, 49–50, 175–177 processing submitted form values, 201–202 Renderers for classes of, 52–53 select lists, 218–221 standard components, 50–52 standard Renderers, 79–80 state saved by JSF, 48

subviews, 186–189 tables, 208–218 value binding, 189–197 view, 184–186 UI Manager (Swing), 10 UIColumn component, 51 UICommand component Action events and, 74 action methods, 179 described, 51 hidden form attribute added by Renderer, 226, 227 immediate attribute and Cancel buttons, 254–255 method binding expression with, 226 standard Renderers, 79 in temperature conversion example, 164 UIComponent class. See also UI components; UIComponentBase class collaborating classes, 175 creating custom components, 36 methods for tree manipulation and navigation, 55 overview, 36, 50, 175 short-circuiting encoding methods, 205 validation implementation and, 203 value property, 189 UIComponentBase class. See also UI components; UIComponent class children property, 185 creating custom components, 36, 50 custom components subclassing from, 354 encoding methods declared by, 186 overview, 36, 50 rendering methods defined by, 76 subclassing, 50 UIConfirmPanel component, 347 UIData component described, 51 standard Renderer, 79 for tables, 208, 209–216 UIDateRangeChooser component, 355–356 UIForm component, 51, 79 UIGraphic component, 51, 79 UIInput component described, 51 direct validation within, 63

453


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.