Prepare Interview

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

RichFaces Interview Questions and Answers

Freshers / Beginner level questions & answers

Ques 1. What is RichFaces?

RichFaces is a JSF component library that consists of two main parts: AJAX enabled JSF components and the CDK (Component Development Kit). RichFaces UI components are   divided into two tag libraries a4j: and rich:. Both tag libraries offer out-of-the-box AJAX enabled JSF components. The CDK is a facility for creating, generating and testing you own rich JSF components.

  • A full set of AJAX enabled components in two libraries
    • a4j: page centric AJAX controls
    • rich: self contained, ready to use components
  • Client-side validation, expanding JSR 303 Bean Validation all the way to the browser.
  • Advanced queueing to match the high performance requirements of real world enterprise applications.
  • Push component upgrades including JavaMessaging Service (JMS) integrations, and various transport mechanisms based on browser support.
  • Our own Component Development Kit (CDK).
  • Comprehensive documentation covering development best practices, and component details.
  • Detailed and automated testing facilities for components, actions, listeners, and pages.
  • Broad cross-browser support
  • Large and active community at its foundation!!

Is it helpful? Add Comment View Comments
 

Ques 2. What are the basic configurations of web.xml for Rich Faces?

Configuration of web.xml while you are using RichFaces in your application:

    <context-param>
      <param-name>org.richfaces.CONTROL_SKINNING</param-name>
      <param-value>enable</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.LoadStyleStrategy</param-name>
        <param-value>ALL</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.LoadScriptStrategy</param-name>
        <param-value>ALL</param-value>
    </context-param>
    <filter>
        <display-name>RichFaces Filter</display-name>
        <filter-name>richfaces</filter-name>
        <filter-class>org.ajax4jsf.Filter</filter-class>
        <init-param>
            <param-name>maxRequestSize</param-name>
            <param-value>999999999</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>richfaces</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>

Is it helpful? Add Comment View Comments
 

Ques 3. Give some examples of RichFaces Components.

Some components of RichFaces:
<rich:panel>
<rich:dataTable>
<rich:toolTip>
<rich:modalPanel>
<rich:separator>
<rich:spacer>
<rich:togglePanel>
<rich:tabPanel>
<rich:collapsiblePanel>
<rich:tooltip>
<rich:fileUpload>
<rich:calendar>
<rich:select>
<rich:tree>

Is it helpful? Add Comment View Comments
 

Ques 4. Give some examples of a4j components.

Some examples of a4j components:

  • <a4j:commandLink>
  • <a4j:commandButton>
  • <a4j:outputPanel>
  • <a4j:region>
  • <a4j:mediaOutput>
  • <a4j:queue>

Is it helpful? Add Comment View Comments
 

Ques 5. What is a4j:commandLink in RichFaces?

The a4j:commandLink combines the standard h:commandLink with our own a4j:ajax. This not only reduces typing, but also inherits all a4j:ajax special options.

<a4j:commandLink value="#{constants.Label_DateUploaded}" action="#{handler.tableHeaderListener}" ajaxSingle="true" reRender="claimDocTable" onclick="loadClaimDocs()" styleClass="tableHeaderTxt" oncomplete="completeClaimRender()">
       <f:setPropertyActionListener target="#{handler.sortField}" value="#{constants.Label_DateUploaded}"/>                                            
 </a4j:commandLink>

Is it helpful? Add Comment View Comments
 

Ques 6. What is rich:tooltip in RichFaces?

The rich:tooltip component creates a small non-modal pop-up that can be used to display additional information for nearly anything on the page.


<rich:toolTip id="ttBtnUploadSelectedDoc" for="helpBtnUploadSelectedDocID" layout="block">
        <h:outputLabel styleClass="tooltipSpan">Use this to upload the documents selected for upload and their document properties to the document repository.<p>Shortcut: CTRL+SHIFT+U</p></h:outputLabel>
</rich:toolTip>

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

Related interview subjects

Core Java interview questions and answers - Total 306 questions
Tomcat interview questions and answers - Total 16 questions
Apache Wicket interview questions and answers - Total 26 questions
Java Applet interview questions and answers - Total 29 questions
JAXB interview questions and answers - Total 18 questions
JMS interview questions and answers - Total 64 questions
Log4j interview questions and answers - Total 35 questions
Struts interview questions and answers - Total 84 questions
RMI interview questions and answers - Total 31 questions
Apache Camel interview questions and answers - Total 20 questions
JDBC interview questions and answers - Total 27 questions
Java 11 interview questions and answers - Total 24 questions
JPA interview questions and answers - Total 41 questions
EJB interview questions and answers - Total 80 questions
GWT interview questions and answers - Total 27 questions
Kotlin interview questions and answers - Total 30 questions
Glassfish interview questions and answers - Total 8 questions
Google Gson interview questions and answers - Total 8 questions
JSP interview questions and answers - Total 49 questions
J2EE interview questions and answers - Total 25 questions
Apache Tapestry interview questions and answers - Total 9 questions
Java Swing interview questions and answers - Total 27 questions
Java Mail interview questions and answers - Total 27 questions
Hibernate interview questions and answers - Total 52 questions
JSF interview questions and answers - Total 24 questions
Java 8 interview questions and answers - Total 30 questions
Java 15 interview questions and answers - Total 16 questions
JBoss interview questions and answers - Total 14 questions
Web Services interview questions and answers - Total 10 questions
RichFaces interview questions and answers - Total 26 questions
Servlets interview questions and answers - Total 34 questions
Java Beans interview questions and answers - Total 57 questions
Spring Boot interview questions and answers - Total 50 questions
JUnit interview questions and answers - Total 24 questions
Spring Framework interview questions and answers - Total 53 questions
Java Design Patterns interview questions and answers - Total 15 questions
©2023 WithoutBook