Index A-M
A
Abstract Factory (GoF) 643
accessibility 42
accessor methods (getters) 14, 463
Action class 410
action events
action sources 51, 129, 433
execution through ActionSource instances 448
firing by ActionSource interface 623
generated by Command family components 187
generation and firing of 186
handling 432
navigation handler and 129
user command representation with 428
action listener classes
combining with action listener methods and action methods 188
registering 188
action listener methods
action methods compared to 52
activity of 28
combining with action listener classes and action methods 188
defined 34
of backing beans (ProjectTrack) 358
overview 432
registration with an action source 433
sorting project lists with 371
typical uses 53
action listeners
adding with Java Studio Creator 926
adding with WebSphere Studio 904
default 51
relationship with action listeners 66
types of 51
action methods
activity of 29
combining with action listener methods and action listener classes 188
defined 34, 51
invocation by the default ActionListener 433
navigation cases associated with 133
of backing beans (ProjectTrack) 358
organized by function 565
overview 433
pages that reference (ProjectTrack) 359
reducing dependencies between sets of objects and 501
referenced by Inbox page (ProjectTrack) 377
required class 433
storage or retrieval of objects with 478
typical uses 52
updating data store with 355
action source components 186, 433
ActionEvent class 429, 432
ActionListener interface 938, 944
implementing 809
overview 433
ActionSource interface 623, 803
overview 448
ActiveX (Microsoft) 21
Adapter pattern 485
adapting objects for use with JSF 485
ADF Faces Components (Oracle) 875
ADF UIX (Application Development Framework), Oracle 7, 19, 874875
advanced extensions registration 98
advanced features configuration 99
Apache Software Foundation
Cocoon 15, 672
Jelly 672
Struts. See Struts (Apache Software Foundation)
Tapestry 19
Tiles. See Tiles (Apache Software Foundation)
Tomcat 8, 12, 89, 92
Velocity 15, 672
APIs (application programming interfaces)
Informa 759, 762
Portlet 410, 422, 424
Servlet 410, 422, 424, 511, 536
Application class 411, 413, 936
application configuration (JSF)
attributes of elements 961
basic file structure 94, 959
elements of 98, 960
file specifying parameter 94, 959
location in the META-INF directory 661
location of 959
managed beans in 357
overview 959
pluggable classes 963
segmenting 101, 959
with web.xml 36, 92
application configuration categories 98
application configuration entry
application 36
categories 98
application configuration files
defined 97
errors 102
locating 101
specifying 101
Application Development Framework UIX (ADF), Oracle 7, 19, 874875
application environment 357
application errors 501
Application instances, initializing 606
application layer classes (ProjectTrack) 477
application layers 457
application logic 51, 288, 411, 434, 457, 840
application messages. See messages
application scopes 80
<application> element 963
application-related classes (JSF) 411, 413
applications
access to pages 360
adding Cascading Style Sheets 303
adding JavaScript using pass-through properties 301
client-side JavaScript integration with JSF 301
commands, executing 219
configuration. See application configuration, JSF
connecting views to data sources 355
consistency enforcement 236
development approaches 355
enhancing pages 300
ensuring access to backing beans 472
error reporting 422
form-centric development of small 356
internationalization of 235, 398, 424, 551
layered 457
localization of 402
message bundles for 269
messages. See messages
migrating over time 572
object-oriented development of large system 356
request and response handling 572
requirements for JSF 289
resource bundles, creating for 238
simple two-layer 457
small 458
splitting into multi-layers 458
states, encapsulation of 419
Struts-Faces 573
text adaptation to locales 236
text strings for specific locales 238
UI component development compared to code development for 607
Apply Request Values phase 69, 428, 622
Approve a Project page (ProjectTrack)
access authorization 546
beans used for 381
integration with application 382
navigation rule update 384
navigation rules for 337, 384
overview 331
project updating 522
purpose of 379
architectures, application
alternatives and consequences 562
consistency of 459
layers 457
ASP.NET Web Forms (Microsoft) 5, 46, 95, 224, 500
<attribute> element 959, 962
attributes, JSF
accessing 443
defined 441
properties compared to 441, 610
authentication 545
authentication keys (ProjectTrack) 480
AuthenticationBean backing bean class (ProjectTrack)
action methods of 500
code for 505
initializing and referencing 509
login method code 550
AuthenticationBean backing bean class (ProjectTrack) (continued)
managed bean configuration 509
properties of 500
Visit object creation and storage 550
authenticationBean scoped variable (ProjectTrack)
associated views 359
description 358
header page and 365366
Login page and 360361
summary 360
AuthenticationFilter 547, 550
authorization 545, 547
filters 547
B
backing beans 39, 48
action methods implemented by 433, 564
adapters and property exposure of 460
advantage of 500
application logic organized into 411
as adapters 460
association with application views 355
automatic construction of 460
base class for 494
basic structure of 509
binding to a component instance 46
binding to a components value 46
business objects compared to 460
component wiring to data-sources with 355
configuring as managed beans 110, 472
data layer objects treated as black boxes 540
data-source association with 355
declaring 501
defined 14, 45
event listener methods and 358
event listeners and 186
exposing as scoped variables 472
exposing, using ValueBinding objects 473
form-centric development and 355
initializing 565
JavaDocs for 359
JSF compared to other frameworks 33
keys 480
Managed Bean Creation facility and 460, 494
not showing up 368
of Project Track 357
organizing by form 564
organizing by function 563
packaging action methods as properties of 501
properties of 357
property values, converting to a String 461
registering methods of single 452
relationship with Update Model Values phase 66
retrieval of business objects 459
serializability 462
similarity to ASP.NET Web Forms code-behind classes 46
simple layered architecture and 457
stored as scoped variables 494
storing in request scopes 538
storing in sessions 538
support for validator methods in 451
thread safety of 501
UI component manipulation with 441
UI component synchronization with Java objects using 6
validation methods and 245
writing to be stateless 538
Barcia, Roland 895
base classes 441, 627
JSTL in Action 104
Bayern, Shawn 104
Bergsten, Hans 672
binary data output 422
bind, defined 46
blogs 757
Borland
C++Builder 5
Delphi 45
Delphi Visual Component Library 21
broadcast method 624
business layers
access alternative 562
defined 458
interaction with views 459
overview 473
business logic 457, 563, 599
business objects
adapting to work with JSF components 484
backing beans compared to 460
exposing through backing beans 472
properties of 466
reusable in non-JSF applications 485
serializability 462
unit testing of 474
Button renderer 728
buttons
associating model objects with 323
cancel 448
components used for header 320
configured dynamically 321
creating 219
buttons (continued)
highlighting selected 321
localizing labels for 244
navigation rules for header 323
normal compared to rollover 728
reset 221, 736
rollover-enabled 728
using graphics for 301
C
C++Builder (Borland) 5
Camino open source browser 670
cancel buttons 448
Cascading Style Sheets (CSS) 69
adding to JSF applications 303
browsers and 69
class attribute and 143
editors for 143
UI component integration with 138
CBP (class-based pages) 666
cell phones 5
ChannelDataModel class 765
ChannelIF interface
DataModel class and 764
Informa API and 761
RSS channel representation in 761
character class 841
characters, regular expression 841
checkboxes, creating 198, 205
child components
accessing 442, 445
ensuring unique client identifiers 623
manipulating 445
rendering with encoding methods 815
using standard components with 758
child-parent relationships 412
choice formats 163164
class-based pages (CBP) 666
classes
action methods of 433
adapter 477, 485
application layer 477
application-related (JSF) 411
base 441
base, for backing beans 494
context-related (JSF) 411
converter 416
core JSF 936
enumerated type 476
event 429
event-handling (JSF) 411
infrastructure category of core JSF 936
JSF set of 410
pluggable category of core JSF 938
renderer-related 637
UI component 411412, 439, 441
utility 477
classes, shared 92
client certificate authentication 546
client identifiers
defined 30, 64
derivation of 611
referencing components with 73
rendering of 613
client-side validation, JSF and 245, 840
Cocoon (Apache Software Foundation) 15, 672
combining with value-change listener 187
combo box, creating 217
Command family components 187
CommandRolloverButtonTag
adding to the tag library 745
tag validator for 744
writing a 741
Common Object Request Broker Architecture (CORBA) 13
common/lib directory 92
commons-beanutils.jar files 91
commons-collections.jar files 92
commons-digester.jar files 92
commons-logging.jar files 92
component identifiers
referencing in Java code 76
specifying 442
using with findComponent 75
component palettes 145, 246
component tags, JSF 107, 142, 145
component trees 445
<component> element 970
components
defined 21
user interface (UI). See UI components
composite components 759
com.sun.faces.NUMBER_OF_VIEWS_IN_SESSION 96
com.sun.faces.validateXml 96
com.sun.faces.verifyObjects 96
configuration elements 961
configuration, JSF
application. See application configuration
consistency enforcement 236
constants, storing strings as 478
constructors, no-argument 460
consuming feeds 760
containers 12, 21
context 419
context-related classes (JSF)
access to user request data with 411
FacesContext class 411
summary of 419
controller architecture, JSF 599
controls. See UI components
convenience wrappers around methods 424
convertClientId method 642
Converter 450
converter classes 416
converter development
need for 854
registration of 461
writing 488, 654, 854
Converter interface 654, 856
<converter> element 973
converters
accessing 246
application configuration files for 98, 970