On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

Hi all!

Can I find a similar component like the Oracle ADF body, especially the "onload", component in Myfaces?
Or can I do a workaround to load a method from the backing bean at Onload of the jsf page?


One approach to this kind of issue would be to use Shale's ViewController functionality on your backing beans ... Shale will call an init() method for you when the page is loaded, plus three other interesting event callbacks:

* preprocess() - if your backing bean is the one that is going to process this form submit

* prerender() - if your backing bean is associated with the page that is about to be rendered

* destroy() - after rendering is completed, called if init() was ever called.

For more information, see the Shale web pages at:

    http://struts.apache.org/struts-shale/

Craig
 

Regards
Andy


______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. ______________________________________________________________________

Reply via email to