AW: Execute method automatically after page has been loaded and shown to user

2005-12-07 Thread andreas.mitter
17:22 An: MyFaces Discussion Betreff: Re: Execute method automatically after page has been loaded and shown to user Andy, There's many ways to do this. Some ways you could do it: 1) Use the Shale ViewController stuff to define your backing bean to be the controlling bean for your page. It'd

RE: Execute method automatically after page has been loaded and shown to user

2005-12-07 Thread Jesse Alexander \(KBSA 21\)
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 10:29 AM To: users@myfaces.apache.org Subject: AW: Execute method automatically after page has been loaded and shown to user Hi Mike! I like the idea with the Servlet Listener,but I see one problem: The database

AW: Execute method automatically after page has been loaded and shown to user

2005-12-07 Thread andreas.mitter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 10:29 AM To: users@myfaces.apache.org Subject: AW: Execute method automatically after page has been loaded and shown to user Hi Mike! I like the idea with the Servlet Listener,but I see one

Re: Execute method automatically after page has been loaded and shown to user

2005-12-07 Thread Mike Kienenberger
Kienenberger [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. Dezember 2005 17:22 An: MyFaces Discussion Betreff: Re: Execute method automatically after page has been loaded and shown to user Andy, There's many ways to do this. Some ways you could do it: 1) Use the Shale ViewController stuff

Execute method automatically after page has been loaded and shown to user

2005-12-06 Thread andreas.mitter
Title: Execute method automatically after page has been loaded and shown to user Hi All! How can I execute a method from a backing bean AUTOMATICALLY after a page has been loaded and shown to the user? My exactly problem is the following: When the user opens the first page, this page

Re: Execute method automatically after page has been loaded and shown to user

2005-12-06 Thread Mike Kienenberger
Andy, There's many ways to do this. Some ways you could do it: 1) Use the Shale ViewController stuff to define your backing bean to be the controlling bean for your page. It'd be able to receive events like pre-render and post-render. 2) Create a phase listener that ran at pre-render and