RichFaces
provides tag libraries which are capable to send Ajax request from JavaServer Faces pages.<a4j:commandButton>
and <a4j:commandLink>
tags are used to send an Ajax request on the click JavaScript event.<a4j:log>
component generates JavaScript that opens a debug window, logging application information such as requests, responses, and DOM changes.
RichFaces
provides calendar component that we can implement in the JSF file.<rich:calendar>
component requires only one value attribute which holds the current selected date.<rich:editor>
component which is used to create a WYSIWYG editor in the HTML page.<rich:editor>
component is based on the CKEditor implementation.<rich:fileUpload>
component which is used to upload files to the server. It provides lots of attributes that we can use in our application. <rich:inplaceInput>
component which is used to create a editable text box. It allows text to be entered in-line in blocks of text. <rich:inplaceInput>
component, except that it uses a drop-down selection box to enter text instead of a text field. auto-completing
mode, where the values in the drop-down
list are provided dynamically using either the autocompleteMethod
or autocompleteList
attributes. <rich:orderingList>
component for ordering items in a list at client-side. We need to use the value attribute to the list to be ordered. vice-versa
. <rich:panel>
without any attributes defined renders a bordered region with no header.<rich:column>
and <rich:columnGroup>
components to list the contents of a data model. <rich:dataTable>
. It iterates through the child collections in the currently iterated object to create detailed tables. <rich:list>
to render a list of items. We can create numerically ordered list, an un-ordered, bullet-point list etc. It uses a data model for managing the list items which can be updated dynamically. <rich:dataScroller>
is used for navigate through multiple pages of tables. It must be places in a facet of the table. We can also use the for attribute to bind parent tables to the scroller. <rich:tree>
component is used to create a hierarchical tree. It uses <rich:treeNode>
as a child component.<rich:dropDownMenu>
component is used to create a drop-down or a hierarchical menu. We can use it with the <rich:toolbar>
component to create menus in an application's toolbar. <rich:toolbar>
component is used to create a horizontal toolbar. Any JavaServer Faces ( JSF)
component can be added to the toolbar.<rich:toolbar>
component does not require any attributes to be defined for basic usage.<rich:messages>
component works similar to the <rich:message>
component and automatically rendered after an Ajax request. It is used to display all the validation messages of the current web page collectively. <rich:notify>
or <rich:notifyMessage>
are displayed in top-right corner of the web page by default. tool-tip
to any control and is displayed when hovering the mouse cursor over the control.