In template.xhtml that I have, I have a body element with no onload attribute. There is one page where I need the body element to have an onload attribute to call rerender and rerender the ajax components so the back button for the user works(right now it appears to be broken in firefox and IE which is odd seeing as how google maps works fine in firefox and firefox tracks the javascript or something, but it isn't for me on this one page).
Anyways, how do I slip in an onload attribute on the body element? Is there a seam component I can use? I just want a param passed up containing onload="runScript();" to be put in body element.
Just make your call at the bottom of the page...it should be a good enough solution.
<body> ....ALL YOUR CONTENT.... <script> runscript(); </script> </body>