Practical RichFaces

Practical RichFaces

von: Max Katz

Apress, 2009

ISBN: 9781430210566 , 264 Seiten

Format: PDF, OL

Kopierschutz: DRM

Windows PC,Mac OSX Apple iPad, Android Tablet PC's Online-Lesen für: Windows PC,Mac OSX,Linux

Preis: 39,58 EUR

Mehr zum Inhalt

Practical RichFaces


 

Contents at a Glance

5

Contents

6

About the Author

11

Acknowledgments

12

Introduction

13

Who Should Read This Book

13

Introduction

14

What Is JSF?

14

JSF, Ajax, and RichFaces

18

Ajax4jsf and RichFaces

19

RichFaces

20

JBoss Seam

21

JSF 2.0

21

Summary

21

Quick Start with JBoss RichFaces

22

Setting Up Your Development Environment

22

Configuring RichFaces

25

Creating Your First RichFaces Application

27

Summary

42

RichFaces Basic Concepts

43

Sending an Ajax Request

43

Performing a Partial- Page Update

50

Knowing What Data to Process

53

Summary

56

More a4j: Tags, Concepts, and Features

57

Controlling Traffic with Queues

57

JavaScript Interactions

58

Performance Considerations

60

Validating User Input

61

Using < a4j: actionparam>

67

Using < a4j: repeat>

68

Using < a4j: status>

74

Using < a4j: include> and < a4j: keepAlive>

79

Using < a4j: jsFunction>

84

Using < a4j: ajaxListener>

86

Summary

87

Input Components

88

Using < rich: inplaceInput>

89

Using < rich: inplaceSelect>

91

Using < rich: suggestionbox>

93

Using < rich: comboBox>

100

Using < rich: inputNumberSlider>

103

Using < rich: inputNumberSpinner>

104

Using < rich: calendar>

105

Summary

106

Output Components

107

Using < rich: panel>

107

Using < rich: simpleTogglePanel>

109

Using < rich: tabPanel> and < rich: tab>

110

Using < rich: panelBar>

114

Using < rich: panelMenu>

116

Using < rich: togglePanel>

119

Using < rich: toolBar>

124

Using < rich: separator>

127

Using < rich: spacer>

127

Using < rich: modalPanel>

127

Using < rich: toolTip>

139

Summary

144

Data Iteration Components

145

Using < rich: dataTable>

147

Using < rich: dataDefinitionList>

147

Using < rich: dataOrderedList>

148

Using < rich: dataList>

149

Using < rich: dataGrid>

149

Adding Pagination

150

Using JavaScript Events

159

Performing Partial- Component Data Updates

161

Creating Column and Row Spans

165

Summary

168

Selection Components

169

Using < rich: pickList>

169

Using < rich: orderingList>

174

Using < rich: listShuttle>

183

Summary

190

Menu Components

191

Using < rich: dropDownMenu>

191

Using < rich: contextMenu>

196

Summary

207

Scrollable Data Table and Tree

208

Using < rich: scrollableDataTable>

208

Using < rich: tree>

218

Summary

226

Skins

227

Using Built- in Skins

227

Creating Your Own Skins

231

Using Skinnability and CSS

234

Using Skins with Nonskinnable Sections of Components

240

Summary

245

Index

246