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
Corvette150735253.0WFSNCCXCRFWSHGJXJPXDAOLP48
Corvette321158032.0RBPVLHJKGCYJRMCZSQPEULS84
Malibu1845244609.0MHAXDRWJPVBHPIQPVPENVOF76
Malibu3660860358.0SSYTPABUMXXPGDRNSWHRBSW35
Malibu1587345557.0HEMPAYJSHSHZTMHEMIQGAZJ70
Malibu2222120045.0HFDLCDXQJGGCCSLHVDFBHQD8
Tahoe2413260664.0RVWMODAOXSRZGOVHYNQSCYY69
Total of Chevrolet Cars: 7
Ford
Taurus1546334970.0FAOBLPBZZZLYECRSPUUMNCFH69
Taurus3755121392.0JABTSDYFTFXQYCAYFRTKXGF47
Taurus3494012123.0CZBDIRDSLYZWLPXJLDKRXRT20
Taurus3044235001.0SHTXNWSAGCVXKTATIATBKHHA61
Taurus4163127685.0CDTPSKIJITGIKAJRSJENFIGX21
Explorer2022920500.0XRUJEOXEAQRCOTISVWVZGOAA77
Explorer2271056072.0YISCAVIBXXAZIZKSRPNIHJG14
Explorer2272168639.0OOGLDKYCLLNKPWXLZLPQJYS46
Total of Ford Cars: 8
Nissan
Maxima1563737441.0ATQRTIULKTEVBCAWLAJVIYHI40
Maxima3725823310.0COKGOJYYCUXIRHCLCMATVRHK10
Maxima2993414052.0HATZTALGEVYSZCAVTCPDDBY22
Frontier3175215402.0DZBOFEQLUYCHJSUYBTRKYBJ35
Frontier1501625258.0LNTNBRQSSWWFLYHAEQCFVQEF86
Frontier2244430676.0LXPKWFQHGRXFAWUDMOPXLDDP90
Frontier2351610200.0XLLZLBAEDBECYLCOLCFXRPVO30
Total of Nissan Cars: 7