Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

PrimeFaces Assessment

Topics Covered

  • Signature PrimeFaces Component
  • Schedule PrimeFaces Component
  • Rating PrimeFaces Component
  • TextArea PrimeFaces Component
  • Growl PrimeFaces Component
  • Google Map PrimeFaces Component

Useful for hiring

  • Java - PrimeFaces
  • Software Engineer - PrimeFaces

Start hiring job-fit candidates using this assessment


"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager

The page: "Map.xhtml" has the following code:
1.    .  
This page should access the map using the native code of the Google Maps API in JavaScript. How can we achieve this?

    • Just add this script: var gmap=PF('mapG').getMap() in the page.

    • Just add this script: var gmap=PE('mapG').getGMap() in the page.

    • Just add this script: var gmap=PE('mapG').getGMaps() in the page.

    • Just add this script: var gmap=PF('mapG').getGoogleMap() in the page.


The page: "ShowMidia.xhtml" should display the file "song.mp3". How can we Achieve this?

    • Implementing the code: <p:media value="song.mp3” player="quicktime"/>.

    • Implementing the code: <p:media value="song.mp3” player="real"/>.

    • Implementing the code: <p:media value="song.mp3” player="flash"/>.

    • Implementing the code: <p:media value="song.mp3” player="windows"/>..


The page: "UserRegistration.xhtml" has a component to display error messages. This component should be changed to allow insert html code in the message content. How can we achieve this?

    • Just add the attribute scape=”false” in the component <p:message>.

    • Just add the attribute scape=”true” in the component <p:message>.

    • Just add the attribute useHtml=”true” in the component <p:message>.

    • Just add the attribute useHtml=”enable” in the component <p:message>.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates