I'm new to JSF, so maybe this isn't best way.  But couldn't you do that from the action that sends you to the page you want to initialize.  Have your action mapped to the method you want to use as initilization method, then forward to the page.

On 8/31/05, Stefan Gesigora <[EMAIL PROTECTED]> wrote:

 

Hi folks!

 

What is the best way to initialize BackingBeans?

I would like to get data from a DB everytime before the jsp will be shown initializing the jsp with this data.

I can't use the constructor initialization cause I need it everytime not only the first time.

I can't use initialization via managed-property cause the data isn't static…

 

Any suggestions?

 

Thx

Stefan Gesigora

 


Reply via email to