Ajax Action
a4j:ajax
a4j:commandButton
a4j:commandLink
a4j:actionListener
a4j:jsFunction
a4j:poll
a4j:push
a4j:param
Ajax Queue
a4j:queue
a4j:attachQueue
Ajax Output/Containers
a4j:outputPanel
a4j:status
a4j:region
a4j:mediaOutput
a4j:log
Validation
Client Side Validation
rich:graphValidator
rich:message
rich:messages
rich:notify
Data Iteration
a4j:repeat
rich:dataTable
rich:extendedDataTable
rich:collapsibleSubTable
rich:dataScroller
rich:list
rich:dataGrid
Trees
rich:tree
Tree Adaptors
Output/Panels
rich:chart
rich:panel
rich:togglePanel
rich:tabPanel
rich:collapsiblePanel
rich:accordion
rich:popupPanel
rich:progressBar
rich:tooltip
Menus
rich:panelMenu
rich:toolbar
rich:contextMenu
rich:dropDownMenu
Inputs
rich:autocomplete
rich:calendar
rich:editor
rich:inputNumberSlider
rich:inputNumberSpinner
rich:inplaceInput
rich:fileUpload
Selects
rich:inplaceSelect
rich:select
rich:orderingList
rich:pickList
Drag and Drop
Drag and Drop
Miscellaneous
Standard elements skinning
rich:placeholder
RichFaces functions
rich:focus
rich:componentControl
rich:hashParam
rich:hotKey
rich:jQuery

This example shows a simple master-detail table implemented using the rich:dataTable and rich:collapsibleSubTable components

New in RichFaces 4.x is the ability to collapse and expand sub-tables using the rich:collapsibleSubTable and rich:collapsibleSubTableToggler components.

You can customize expanding and collapsing sub-tables in several ways:

  • Sub-tables can be collapsed and expanded in different modes. Use the rich:collapsibleSubTable component's expandMode attribute to specify client, ajax or server mode.
  • You can control the current state of sub-tables by using the expanded attribute.
Cars marketplace
ModelPriceMileageVIN CodeItems stockDays Live
Chevrolet
Corvette3339220162.0LPZRNHMHEBBSNUXEKYCEPSG8
Corvette5215917668.0WHWIBAZQXBKKSGJXAFSJADAV9
Malibu5149777807.0YGNZSAGPLNMZOJMQRSVVAJNF19
Malibu2160027881.0VKNVUFHDLVSDFQDUFBUBLBKI14
Malibu1953372338.0FIUKEEWZTSUQKWNCUXMYBIG67
Malibu4521018660.0JESEKCOZTVBTROIURMGUDMAR59
Tahoe1695417302.0EOBAOPFBUGOJMLDRUFEMAXFE48
Total of Chevrolet Cars: 7
Ford
Taurus5436051966.0AOKLFKGEUPCNLQAUFDTOYODD29
Taurus4466320212.0HBHTTITBXZMVIUVIPIBEIIW11
Taurus3855621936.0PABOEYIPGIUAGUJWRZZHYUUT65
Taurus4848220394.0ATBSKBVEPWWNTAPGEEDCPMUA23
Taurus4220577452.0DKKNDYEDOVBHUDMSQAKBOIYS3
Explorer4506320454.0DPVTAEWECJJOYVACYQZXNBPC51
Explorer3177056282.0MMSUTBKXECZPNUWOTUQJNABJ19
Explorer3392852721.0YFMANNALUZUECERTLKVROAND76
Total of Ford Cars: 8
Nissan
Maxima5410829288.0BHYBCQBLSOANYDOLAISLYCZ21
Maxima1857159679.0BCMKUAYHFDYEVNVBFXYEUQU11
Maxima3589432982.0EAIVIMWBNCIPHAOJJASMBIMM3
Frontier4774571716.0OFPLZCGJALPXLFWCVSYYKVL50
Frontier297509496.0GBKVAFFTNQCXTTLZORRCPQV40
Frontier2147149830.0RLIFJZTNHPLWBPOHOPGGYNA55
Frontier4249422374.0YTXZMZASYDHKJFXSYXXAQOS89
Total of Nissan Cars: 7