| From | Sent On | Attachments |
|---|---|---|
| Stefan Gesigora | Aug 31, 2005 1:53 am | |
| Martin Marinschek | Aug 31, 2005 2:12 am | |
| Stefan Gesigora | Aug 31, 2005 2:20 am | |
| Stefan Gesigora | Aug 31, 2005 3:38 am | |
| Enrique Medina | Aug 31, 2005 3:43 am | |
| Guy Katz | Aug 31, 2005 3:53 am | |
| Stefan Gesigora | Aug 31, 2005 4:00 am | |
| Murali | Aug 31, 2005 4:19 am | |
| Murali | Aug 31, 2005 4:43 am | |
| Jeff Cooper | Aug 31, 2005 5:13 am | |
| Sean Schofield | Aug 31, 2005 5:34 am | |
| Werner Punz | Aug 31, 2005 5:37 am | |
| hicham abassi | Aug 31, 2005 6:21 am | |
| Sean Schofield | Aug 31, 2005 6:23 am | |
| hicham abassi | Aug 31, 2005 6:29 am | |
| Sean Schofield | Aug 31, 2005 6:30 am | |
| Gary VanMatre | Aug 31, 2005 7:59 am | |
| Mike Kienenberger | Aug 31, 2005 10:57 am | |
| Ken Weiner | Aug 31, 2005 10:59 am | |
| Mike Kienenberger | Aug 31, 2005 11:13 am | |
| Craig McClanahan | Aug 31, 2005 11:25 am | |
| Mike Kienenberger | Aug 31, 2005 11:39 am | |
| Denn...@ak.blm.gov | Aug 31, 2005 11:51 am | |
| Ken Weiner | Aug 31, 2005 11:54 am | |
| Craig McClanahan | Aug 31, 2005 12:25 pm | |
| Mike Kienenberger | Aug 31, 2005 12:34 pm | |
| Craig McClanahan | Aug 31, 2005 12:40 pm | |
| Craig McClanahan | Aug 31, 2005 12:51 pm | |
| Mike Kienenberger | Aug 31, 2005 1:07 pm | |
| Martin Marinschek | Aug 31, 2005 1:47 pm | |
| Mike Kienenberger | Sep 1, 2005 8:01 am | |
| Martin Marinschek | Sep 1, 2005 8:43 am | |
| Mike Kienenberger | Sep 1, 2005 8:50 am | |
| Martin Marinschek | Sep 1, 2005 9:06 am | |
| Mike Kienenberger | Sep 1, 2005 9:21 am | |
| Martin Marinschek | Sep 1, 2005 9:54 am | |
| CONNER, BRENDAN (SBCSI) | Sep 2, 2005 5:59 pm | |
| Craig McClanahan | Sep 2, 2005 9:25 pm | |
| hicham abassi | Sep 6, 2005 12:15 pm |
| Subject: | RE: best way to initialize BackingBean? | |
|---|---|---|
| From: | CONNER, BRENDAN (SBCSI) (bc1...@sbc.com) | |
| Date: | Sep 2, 2005 5:59:11 pm | |
| List: | org.apache.myfaces.users | |
I went to the link you gave, but I got a "page not found" error. Is that link still valid?
And, I know I'm missing something here, but don't most people initialize their backing beans just by using lazy fetches on their getters? Either that, of course, or having some action initialize them?
I'll definitely look into shale, though. It sounds interesting.
- Brendan
-----Original Message----- From: Sean Schofield [mailto:sean...@gmail.com] Sent: Wednesday, August 31, 2005 7:35 AM To: MyFaces Discussion Subject: Re: best way to initialize BackingBean?
I'm using Shale for this. This is one of the specific things that Shale is designed to give you. And yes, you can use with either the RI or MyFaces (basically any JSF implementation.) I use it with MyFaces of course ;-)
There is a nice overview on the Struts website now (http://struts.apache.org/shale.) Check out the javadocs as well since there is some good summary documentation in there as well.
sean
On 8/31/05, Jeff Cooper <jsco...@gmail.com> wrote:
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 <SGes...@software-architekten.de> 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





