I use this kind of bean. But
I have to initialize it dynamically. Like the initialization of a Form class in
an action class in struts.
Von: Guy Katz
[mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 31. August
2005 12:54
An: MyFaces Discussion
Betreff: RE: best way to
initialize BackingBean?
why not
use use a request scope bean and bind it to the JSP you talk about?
-----Original Message-----
From: Stefan Gesigora
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005
11:54 AM
To: MyFaces Discussion
Subject: best way to initialize
BackingBean?
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
|
- AW: best way to initialize BackingBean? Stefan Gesigora
-