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
Corvette4363714034.0MCRJPEWCTCJBYIXSWBKYKIXN75
Corvette3479064600.0YROITSKBOYMEKZXYXIWMAUTX70
Malibu2294917342.0ASIBJXYVWGZJYAIRSGHYRLU80
Malibu4084820305.0UDFICRAMHCBEAPGKMEVDVVZ46
Malibu5461561171.0OWCSSWPBRTOSATFEKAMCCVOJ33
Malibu2796656438.0MJZRQANYLMQLIJHBHWKVXGUN71
Tahoe4685528344.0TGRLYESWHBDJMAPIRJSPRWO6
Total of Chevrolet Cars: 7
Ford
Taurus451658309.0WBFWVTCCOPJNQDTCHICMTUF63
Taurus5494075615.0LSWBXWMVZYNEZAVPEWYNUFV75
Taurus2846248118.0DQAGIDAEIOVTTKCAWZTMJTN87
Taurus3681719399.0XQNKRTSQTLGYUJXDBLATOPV51
Taurus1627212367.0FIHLQAEQSISLYJULHKILLRE36
Explorer1542828175.0GYAWZPXHIEVZHHJVUXSTWFD49
Explorer3172546214.0HMPEHGJQIXVMYGVRGVYAGAW72
Explorer5105366281.0YPZWUURBFUISOMBJDHSKICO3
Total of Ford Cars: 8
Nissan
Maxima5040976952.0ONUOBRWWZUNAYFWQEDEJYSBA47
Maxima1541643980.0OYRGJNDONBWMMZDLIXTPALHO49
Maxima4047116007.0ATBJXQHCVCZMLPJBEDCSKFVJ65
Frontier3794439960.0WINWMDPOIDJAWHBZNJVKHZN77
Frontier2305926023.0NAFHCIMLABFKFXVNMFJRJUQU5
Frontier4930725721.0WDXMUGSYHEHJTYRXNJESALJ31
Frontier3009016401.0VJFBPOXVOGSKDHVKXIXMQVRF9
Total of Nissan Cars: 7