Saturday, December 1, 2012

How to verify jQuery in Richfaces 4 is working

The purpose of this post is to verify that the jQuery bundled in Richfaces is working.

Steps:
1. Add the following script into the page
2. add the following line of code into the page.
3. make sure <h:head /> in the page. it must be <h:head /> instead of the html <head />, so that Richfaces is dynamically adding the required script files into the page.
4. add at least 1 Richfaces component into the page to ensure Richfaces scripts are loaded into the page.



complete source:

LinkWithin

Related Posts Plugin for WordPress, Blogger...