Max Katz
Practical RichFaces
Ein Angebot für € 9,99 €
Max Katz
Practical RichFaces
- Buch
- Merkliste
- Auf die Merkliste
- Bewerten Bewerten
- Teilen
- Produkt teilen
- Produkterinnerung
- Produkterinnerung
This book illustrates how to use the RichFaces, a JSF component library that makes it easy to add Ajax to Java applications. JSF is the Java standard for component-based frameworks on the web, and libraries like this bring JSF's capabilities up to what users expect from modern web applications. The focus is on how to quickly use the RichFaces capabilities to radically change the look and responsiveness of application.
This book illustrates how to use the RichFaces, a JSF component library that makes it easy to add Ajax to Java applications. JSF is the Java standard for component-based frameworks on the web, and libraries like this bring JSF's capabilities up to what users expect from modern web applications. The focus is on how to quickly use the RichFaces capabilities to radically change the look and responsiveness of application.
- Verlag: Apress
- ISBN-13: 9781430210559
- Artikelnr.: 25421727
Max Katz is a senior systems engineer at Exadel, responsible for technical support, training and customer care for the Exadel product line. He also conducts online and onsite JavaServer Faces and AJAX trainings. With more than seven years of IT experience, he brings a wide array of skills and experiences from his technical and managerial positions. Max holds a B.S. in Computer Science from the University of California, Davis.
CHAPTER 1
- INTRODUCTION 5
- JSF AND AJAX 13
- AJAX4JSF AND RICHFACES 15
- RICHFACES 2
- TAG LIBRARIES 15
CHAPTER 2
- QUICK START WITH JBOSS RICHFACES 16
- DEVELOPMENT ENVIRONMENT 16
- JBOSS TOOLS 16
- TOMCAT 16
- DOWNLOAD AND INSTALLING 16
- JBOSS TOOLS CONFIGURATION 17
- TESTING SETUP 17
- RICHFACES CONFIGURATION 18
- DOWNLOAD 18
- INSTALLATION 18
- TAG LIBRARIES 19
- FIRST RICHFACES APPLICATION 19
- CREATING NEW PROJECT 19
- BUILDING THE USER INTERFACE 20
- CREATING A MANAGED BEAN 21
- ADDING A BUTTON 23
- RUNNING THE APPLICATION 23
- ADDING AJAX 24
- SUBMITTING VIA AJAX 24
- PARTIAL UPDATE 25
- USING A4J:SUPPORT 25
- HOW DOES IT WORK? 26
- CREATING A PHASE LISTENER 27
- ADDING VALIDATION 29
- DISPLAYING CONTENT NOT RENDERED BEFORE 31
- USING 32
- USING PLACEHOLDERS 33
- USING 33
- SUMMARY 34
CHAPTER 3
- RICHFACES BASIC CONCEPTS 34
- SENDING AN AJAX REQUEST 35
- AND 35
- 36
- 39
- PARTIAL PAGE UPDATE 41
- USING THE RERENDER ATTRIBUTE 41
- USING 43
- WHAT DATA TO SEND 44
- USING 44
- USING AJAXSINGLE ATTRIBUTE 45
CHAPTER 4
- MORE A4J: TAGS, CONCEPTS AND FEATURES 48
- CONTROLLING TRAFFIC WITH QUEUES 48
- VALIDATING USER INPUT 49
- JAVASCRIPT INTERACTIONS 51
- PERFORMANCE CONSIDERATIONS 52
- USE EVENTSQUEUE AND REQUESTDELAY 52
- USE BYPASSUPDATES 52
- USE 52
- USING 52
- USING 54
- USING AJAXKEYS ATTRIBUTE 57
- USING 60
- USING WITH ACTION CONTROLS 60
- ASSOCIATING STATUS WITH A REGION 64
- USING 65
- USING AND 65
- USING 70
- USING 71
- USING 73
CHAPTER 5
- RICHFACES COMPONENTS: INPUT, OUTPUT 74
- WHY RICH? 75
- INPUT COMPONENTS 75
- OUTPUT COMPONENTS 75
- 75
- AND 77
- 82
- 83
- 83
CHAPTER 6
- DATA ITERATION COMPONENTS 96
- DATA ITERATION COMPONENTS 96
- USING 98
- USING 99
- USING 100
- USING 101
- ADDING PAGINATION 103
- USING WITH OTHER DATA COMPONENTS 111
- PARTIAL COMPONENT DATA UPDATE 114
- USING AND TO CREATE COLUMN AND ROW SPANS 119
CHAPTER 7
- DRAG AND DROP COMPONENTS 123
CHAPTER 8
- SELECTION COMPONENTS 123
CHAPTER 9
- MENU COMPONENTS 123
CHAPTER 10
- TREE AND SCROLLABLE DATA TABLE 123
CHAPTER 11
- OTHER RICH COMPONENTS 123
CHAPTER 12
- SKINABILITY 123
- USING BUILT-IN SKINS 124
- HOW IT WORKS 126
- CREATING YOUR OWN SKINS 126
- WHICH SKIN-PARAMETER TO CHANGE? 129
- USING SKINABILITY AND CSS 130
- SKIN GENERATED CSS 131
- REDEFINING SKIN-GENERATED CSS CLASS 131
- USER DEFINED STYLE 133
- DYNAMICALLY CHANGING SKINS 134
- PARTIAL PAGE UPDATE AND NEW SKINS 135
- USING SKINS WITH FOR NON-SKINABLE SECTIONS OF COMPONENTS 136
- INTRODUCTION 5
- JSF AND AJAX 13
- AJAX4JSF AND RICHFACES 15
- RICHFACES 2
- TAG LIBRARIES 15
CHAPTER 2
- QUICK START WITH JBOSS RICHFACES 16
- DEVELOPMENT ENVIRONMENT 16
- JBOSS TOOLS 16
- TOMCAT 16
- DOWNLOAD AND INSTALLING 16
- JBOSS TOOLS CONFIGURATION 17
- TESTING SETUP 17
- RICHFACES CONFIGURATION 18
- DOWNLOAD 18
- INSTALLATION 18
- TAG LIBRARIES 19
- FIRST RICHFACES APPLICATION 19
- CREATING NEW PROJECT 19
- BUILDING THE USER INTERFACE 20
- CREATING A MANAGED BEAN 21
- ADDING A BUTTON 23
- RUNNING THE APPLICATION 23
- ADDING AJAX 24
- SUBMITTING VIA AJAX 24
- PARTIAL UPDATE 25
- USING A4J:SUPPORT 25
- HOW DOES IT WORK? 26
- CREATING A PHASE LISTENER 27
- ADDING VALIDATION 29
- DISPLAYING CONTENT NOT RENDERED BEFORE 31
- USING
- USING PLACEHOLDERS 33
- USING
- SUMMARY 34
CHAPTER 3
- RICHFACES BASIC CONCEPTS 34
- SENDING AN AJAX REQUEST 35
-
-
-
- PARTIAL PAGE UPDATE 41
- USING THE RERENDER ATTRIBUTE 41
- USING
- WHAT DATA TO SEND 44
- USING
- USING AJAXSINGLE ATTRIBUTE 45
CHAPTER 4
- MORE A4J: TAGS, CONCEPTS AND FEATURES 48
- CONTROLLING TRAFFIC WITH QUEUES 48
- VALIDATING USER INPUT 49
- JAVASCRIPT INTERACTIONS 51
- PERFORMANCE CONSIDERATIONS 52
- USE EVENTSQUEUE AND REQUESTDELAY 52
- USE BYPASSUPDATES 52
- USE
- USING
- USING
- USING AJAXKEYS ATTRIBUTE 57
- USING
- USING WITH ACTION CONTROLS 60
- ASSOCIATING STATUS WITH A REGION 64
- USING
- USING
- USING
- USING
- USING
CHAPTER 5
- RICHFACES COMPONENTS: INPUT, OUTPUT 74
- WHY RICH? 75
- INPUT COMPONENTS 75
- OUTPUT COMPONENTS 75
-
-
-
-
-
CHAPTER 6
- DATA ITERATION COMPONENTS 96
- DATA ITERATION COMPONENTS 96
- USING
- USING
- USING
- USING
- ADDING PAGINATION 103
- USING WITH OTHER DATA COMPONENTS 111
- PARTIAL COMPONENT DATA UPDATE 114
- USING
CHAPTER 7
- DRAG AND DROP COMPONENTS 123
CHAPTER 8
- SELECTION COMPONENTS 123
CHAPTER 9
- MENU COMPONENTS 123
CHAPTER 10
- TREE AND SCROLLABLE DATA TABLE 123
CHAPTER 11
- OTHER RICH COMPONENTS 123
CHAPTER 12
- SKINABILITY 123
- USING BUILT-IN SKINS 124
- HOW IT WORKS 126
- CREATING YOUR OWN SKINS 126
- WHICH SKIN-PARAMETER TO CHANGE? 129
- USING SKINABILITY AND CSS 130
- SKIN GENERATED CSS 131
- REDEFINING SKIN-GENERATED CSS CLASS 131
- USER DEFINED STYLE 133
- DYNAMICALLY CHANGING SKINS 134
- PARTIAL PAGE UPDATE AND NEW SKINS 135
- USING SKINS WITH FOR NON-SKINABLE SECTIONS OF COMPONENTS 136
CHAPTER 1
- INTRODUCTION 5
- JSF AND AJAX 13
- AJAX4JSF AND RICHFACES 15
- RICHFACES 2
- TAG LIBRARIES 15
CHAPTER 2
- QUICK START WITH JBOSS RICHFACES 16
- DEVELOPMENT ENVIRONMENT 16
- JBOSS TOOLS 16
- TOMCAT 16
- DOWNLOAD AND INSTALLING 16
- JBOSS TOOLS CONFIGURATION 17
- TESTING SETUP 17
- RICHFACES CONFIGURATION 18
- DOWNLOAD 18
- INSTALLATION 18
- TAG LIBRARIES 19
- FIRST RICHFACES APPLICATION 19
- CREATING NEW PROJECT 19
- BUILDING THE USER INTERFACE 20
- CREATING A MANAGED BEAN 21
- ADDING A BUTTON 23
- RUNNING THE APPLICATION 23
- ADDING AJAX 24
- SUBMITTING VIA AJAX 24
- PARTIAL UPDATE 25
- USING A4J:SUPPORT 25
- HOW DOES IT WORK? 26
- CREATING A PHASE LISTENER 27
- ADDING VALIDATION 29
- DISPLAYING CONTENT NOT RENDERED BEFORE 31
- USING 32
- USING PLACEHOLDERS 33
- USING 33
- SUMMARY 34
CHAPTER 3
- RICHFACES BASIC CONCEPTS 34
- SENDING AN AJAX REQUEST 35
- AND 35
- 36
- 39
- PARTIAL PAGE UPDATE 41
- USING THE RERENDER ATTRIBUTE 41
- USING 43
- WHAT DATA TO SEND 44
- USING 44
- USING AJAXSINGLE ATTRIBUTE 45
CHAPTER 4
- MORE A4J: TAGS, CONCEPTS AND FEATURES 48
- CONTROLLING TRAFFIC WITH QUEUES 48
- VALIDATING USER INPUT 49
- JAVASCRIPT INTERACTIONS 51
- PERFORMANCE CONSIDERATIONS 52
- USE EVENTSQUEUE AND REQUESTDELAY 52
- USE BYPASSUPDATES 52
- USE 52
- USING 52
- USING 54
- USING AJAXKEYS ATTRIBUTE 57
- USING 60
- USING WITH ACTION CONTROLS 60
- ASSOCIATING STATUS WITH A REGION 64
- USING 65
- USING AND 65
- USING 70
- USING 71
- USING 73
CHAPTER 5
- RICHFACES COMPONENTS: INPUT, OUTPUT 74
- WHY RICH? 75
- INPUT COMPONENTS 75
- OUTPUT COMPONENTS 75
- 75
- AND 77
- 82
- 83
- 83
CHAPTER 6
- DATA ITERATION COMPONENTS 96
- DATA ITERATION COMPONENTS 96
- USING 98
- USING 99
- USING 100
- USING 101
- ADDING PAGINATION 103
- USING WITH OTHER DATA COMPONENTS 111
- PARTIAL COMPONENT DATA UPDATE 114
- USING AND TO CREATE COLUMN AND ROW SPANS 119
CHAPTER 7
- DRAG AND DROP COMPONENTS 123
CHAPTER 8
- SELECTION COMPONENTS 123
CHAPTER 9
- MENU COMPONENTS 123
CHAPTER 10
- TREE AND SCROLLABLE DATA TABLE 123
CHAPTER 11
- OTHER RICH COMPONENTS 123
CHAPTER 12
- SKINABILITY 123
- USING BUILT-IN SKINS 124
- HOW IT WORKS 126
- CREATING YOUR OWN SKINS 126
- WHICH SKIN-PARAMETER TO CHANGE? 129
- USING SKINABILITY AND CSS 130
- SKIN GENERATED CSS 131
- REDEFINING SKIN-GENERATED CSS CLASS 131
- USER DEFINED STYLE 133
- DYNAMICALLY CHANGING SKINS 134
- PARTIAL PAGE UPDATE AND NEW SKINS 135
- USING SKINS WITH FOR NON-SKINABLE SECTIONS OF COMPONENTS 136
- INTRODUCTION 5
- JSF AND AJAX 13
- AJAX4JSF AND RICHFACES 15
- RICHFACES 2
- TAG LIBRARIES 15
CHAPTER 2
- QUICK START WITH JBOSS RICHFACES 16
- DEVELOPMENT ENVIRONMENT 16
- JBOSS TOOLS 16
- TOMCAT 16
- DOWNLOAD AND INSTALLING 16
- JBOSS TOOLS CONFIGURATION 17
- TESTING SETUP 17
- RICHFACES CONFIGURATION 18
- DOWNLOAD 18
- INSTALLATION 18
- TAG LIBRARIES 19
- FIRST RICHFACES APPLICATION 19
- CREATING NEW PROJECT 19
- BUILDING THE USER INTERFACE 20
- CREATING A MANAGED BEAN 21
- ADDING A BUTTON 23
- RUNNING THE APPLICATION 23
- ADDING AJAX 24
- SUBMITTING VIA AJAX 24
- PARTIAL UPDATE 25
- USING A4J:SUPPORT 25
- HOW DOES IT WORK? 26
- CREATING A PHASE LISTENER 27
- ADDING VALIDATION 29
- DISPLAYING CONTENT NOT RENDERED BEFORE 31
- USING
- USING PLACEHOLDERS 33
- USING
- SUMMARY 34
CHAPTER 3
- RICHFACES BASIC CONCEPTS 34
- SENDING AN AJAX REQUEST 35
-
-
-
- PARTIAL PAGE UPDATE 41
- USING THE RERENDER ATTRIBUTE 41
- USING
- WHAT DATA TO SEND 44
- USING
- USING AJAXSINGLE ATTRIBUTE 45
CHAPTER 4
- MORE A4J: TAGS, CONCEPTS AND FEATURES 48
- CONTROLLING TRAFFIC WITH QUEUES 48
- VALIDATING USER INPUT 49
- JAVASCRIPT INTERACTIONS 51
- PERFORMANCE CONSIDERATIONS 52
- USE EVENTSQUEUE AND REQUESTDELAY 52
- USE BYPASSUPDATES 52
- USE
- USING
- USING
- USING AJAXKEYS ATTRIBUTE 57
- USING
- USING WITH ACTION CONTROLS 60
- ASSOCIATING STATUS WITH A REGION 64
- USING
- USING
- USING
- USING
- USING
CHAPTER 5
- RICHFACES COMPONENTS: INPUT, OUTPUT 74
- WHY RICH? 75
- INPUT COMPONENTS 75
- OUTPUT COMPONENTS 75
-
-
-
-
-
CHAPTER 6
- DATA ITERATION COMPONENTS 96
- DATA ITERATION COMPONENTS 96
- USING
- USING
- USING
- USING
- ADDING PAGINATION 103
- USING WITH OTHER DATA COMPONENTS 111
- PARTIAL COMPONENT DATA UPDATE 114
- USING
CHAPTER 7
- DRAG AND DROP COMPONENTS 123
CHAPTER 8
- SELECTION COMPONENTS 123
CHAPTER 9
- MENU COMPONENTS 123
CHAPTER 10
- TREE AND SCROLLABLE DATA TABLE 123
CHAPTER 11
- OTHER RICH COMPONENTS 123
CHAPTER 12
- SKINABILITY 123
- USING BUILT-IN SKINS 124
- HOW IT WORKS 126
- CREATING YOUR OWN SKINS 126
- WHICH SKIN-PARAMETER TO CHANGE? 129
- USING SKINABILITY AND CSS 130
- SKIN GENERATED CSS 131
- REDEFINING SKIN-GENERATED CSS CLASS 131
- USER DEFINED STYLE 133
- DYNAMICALLY CHANGING SKINS 134
- PARTIAL PAGE UPDATE AND NEW SKINS 135
- USING SKINS WITH FOR NON-SKINABLE SECTIONS OF COMPONENTS 136