This content has been marked as final.
Show 1 reply
-
1. Re: execute javascript function on page load
rituraj_tiwari Sep 10, 2008 9:20 PM (in response to ajanz)I'll tell you what I do in my environment where I use XHTML templates for my view:
- Make sure richfaces namespace is included in your root tag: xmlns:rich="http://richfaces.org/rich"
- Add in jQuery library bundled with richfaces (which is bundled with Seam): <rich:jQuery query="undefined"/>
- Inside a <script> tag, define your onload function to do what you need it to do:
jQuery(document).ready(function() { ... }
Hope this helps.
-Raj