0 Replies Latest reply on Jan 30, 2009 6:24 AM by francescglez

    Does onLoad attribute exists?

    francescglez

      Hello,

      Does anybody know if is there any richfaces component that after been rendered in a page (for the first time, when the page is loaded) can automatically call a Javascript function?

      I need to call this Js function but I can't use the tipical <body onload....> or I can't use also <a4j:JSfunction>. Also I can't write a normal <script tag>.

      I use rischfaces 3.1.2 and JBoss Portal 2.6.2.

      The effect I want to get is the same as this onload from the body tag.


      Thank you for any information.