RE: managed bean with request scope

2008-10-03 Thread Guy Bashan
.. Working too much with JSF... make you forget JavaScript... ;-) But I hope the idea is understood. Let me know if it didn't work... -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2008 12:02 AM To: MyFaces Discussion Subject: Re: managed be

Re: managed bean with request scope

2008-10-03 Thread Alex Diaz
] Sent: Friday, October 03, 2008 9:43 PM To: MyFaces Discussion Subject: Re: managed bean with request scope I am not using any additional frameworks, and I believe the we.xml is configured properly. You are right about the page refresh when I hit F5 then it works ok, but I cannot implement a refresh b

RE: managed bean with request scope

2008-10-03 Thread Guy Bashan
Sorry, I got a little confused, You have this issue only in the iframe request or generally in all your jsp files? -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2008 9:43 PM To: MyFaces Discussion Subject: Re: managed bean with request scope I

Re: managed bean with request scope

2008-10-03 Thread Alex Diaz
t scope are recreated on each request. Make sure: 1) Your bean is in the faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean wit

Re: managed bean with request scope

2008-10-03 Thread Guy Bashan
ated on each request. Make sure: 1) Your bean is in the faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request

Re: managed bean with request scope

2008-10-03 Thread Alex Diaz
1) Your bean is in the faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request scope Are the managed beans with re

Re: managed bean with request scope

2008-10-03 Thread Andrew Robinson
t;>>> Thanks >>>>> >>>>> On Thu, 02 Oct 2008 09:45:04 -0400, Guy Bashan <[EMAIL PROTECTED]> >>>>> wrote: >>>>> >>>>>> Beans in request scope are recreated on each request. >>>>>> Make sure:

Re: managed bean with request scope

2008-10-03 Thread Alex Diaz
-Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request scope Are the managed beans with request scope destroyed after each request to a page? If so, then why the beans constructor i

Re: managed bean with request scope

2008-10-03 Thread Guy Bashan
equest. Make sure: 1) Your bean is in the faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request scope Are

Re: managed bean with request scope

2008-10-03 Thread Alex Diaz
To: users@myfaces.apache.org Subject: managed bean with request scope Are the managed beans with request scope destroyed after each request to a page? If so, then why the beans constructor is not being called after subsequent requests? Thanks. -- Using Opera's revolutionary e-mail

Re: managed bean with request scope

2008-10-03 Thread Andrew Robinson
". >> >> Guy >> >> >> >> -Original Message- >> From: Alex Diaz [mailto:[EMAIL PROTECTED] >> Sent: Thursday, October 02, 2008 4:47 PM >> To: users@myfaces.apache.org >> Subject: managed bean with request scope >> >>

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request scope Are the managed beans with request scope dest

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
se...) 4) Try to open another browser session (even with a different browser) to see if the bean will be created with a different session. -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 9:12 PM To: MyFaces Discussion Subject: Re: managed be

RE: managed bean with request scope

2008-10-02 Thread Guy Bashan
ober 02, 2008 9:12 PM To: MyFaces Discussion Subject: Re: managed bean with request scope Andrew, thanks for your answer. The bean is created the first time and I know that because I have an EL reference to a property of that bean. What I am trying to do is to get the url query string passed

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: jeudi 2 octobre 2008 18:28 To: MyFaces Discussion Subject: Re: managed bean with request scope I dont know what referred means? On Thu, 02 Oct 2008 11:31:58 -0400, Andrew Robinson <[EMAIL PROTECTED]> wrote: Is your bean referred to? Bean

Re: managed bean with request scope

2008-10-02 Thread Andrew Robinson
t;> >> In this case "myBean" is being referenced. >> >> -Original Message- >> From: Alex Diaz [mailto:[EMAIL PROTECTED] >> Sent: jeudi 2 octobre 2008 18:28 >> To: MyFaces Discussion >> Subject: Re: managed bean with request scope >> >> I do

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
[EMAIL PROTECTED] Sent: jeudi 2 octobre 2008 18:28 To: MyFaces Discussion Subject: Re: managed bean with request scope I dont know what referred means? On Thu, 02 Oct 2008 11:31:58 -0400, Andrew Robinson <[EMAIL PROTECTED]> wrote: Is your bean referred to? Beans are created lazily, so if

RE: managed bean with request scope

2008-10-02 Thread Matt.Rossner-prest
It just means you have some EL reference in the page like In this case "myBean" is being referenced. -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: jeudi 2 octobre 2008 18:28 To: MyFaces Discussion Subject: Re: managed bean with request scope I dont

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
d as request, it should always be re-created, even on ajax requests. Guy. -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 5:13 PM To: MyFaces Discussion Subject: Re: managed bean with request scope Yes the bean is declared in faces-config.xml

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
I dont know what referred means? On Thu, 02 Oct 2008 11:31:58 -0400, Andrew Robinson <[EMAIL PROTECTED]> wrote: Is your bean referred to? Beans are created lazily, so if the EL engine never resolves that bean, it will not be created. On Thu, Oct 2, 2008 at 7:47 AM, Alex Diaz <[EMAIL PROTECT

Re: managed bean with request scope

2008-10-02 Thread Andrew Robinson
Is your bean referred to? Beans are created lazily, so if the EL engine never resolves that bean, it will not be created. On Thu, Oct 2, 2008 at 7:47 AM, Alex Diaz <[EMAIL PROTECTED]> wrote: > Are the managed beans with request scope destroyed after each request to a > page? If so, then why the b

RE: managed bean with request scope

2008-10-02 Thread Guy Bashan
: Thursday, October 02, 2008 5:13 PM To: MyFaces Discussion Subject: Re: managed bean with request scope Yes the bean is declared in faces-config.xml and has request scope. ChangeTreeValueHelper beans.ChangeTreeValueHelper request On Thu, 02 Oct 2008 09:47:11 -0400,

Re: managed bean with request scope

2008-10-02 Thread Alex Diaz
. Make sure: 1) Your bean is in the faces-config.xml. 2) The scope is really "request". Guy -Original Message- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 4:47 PM To: users@myfaces.apache.org Subject: managed bean with request scope Are the ma

RE: managed bean with request scope

2008-10-02 Thread Guy Bashan
rg Subject: managed bean with request scope Are the managed beans with request scope destroyed after each request to a page? If so, then why the beans constructor is not being called after subsequent requests? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

RE: managed bean with request scope

2008-10-02 Thread Guy Bashan
rg Subject: managed bean with request scope Are the managed beans with request scope destroyed after each request to a page? If so, then why the beans constructor is not being called after subsequent requests? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

managed bean with request scope

2008-10-02 Thread Alex Diaz
Are the managed beans with request scope destroyed after each request to a page? If so, then why the beans constructor is not being called after subsequent requests? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/