myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Diaz" <alexwar...@gmail.com>
Subject Re: managed bean with request scope
Date Fri, 03 Oct 2008 15:52:19 GMT
I am just using the the managed-bean like:
     <managed-bean>
         <managed-bean-name>ChangeTreeValueHelper</managed-bean-name>
         <managed-bean-class>beans.ChangeTreeValueHelper</managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
     </managed-bean>

On Fri, 03 Oct 2008 11:39:44 -0400, Andrew Robinson  
<andrew.rw.robinson@gmail.com> wrote:

> Are you by any chance using t:saveState or something else to pin the
> object in memory like using managed-property?
>
> On Thu, Oct 2, 2008 at 7:37 PM, Alex Diaz <alexware69@gmail.com> wrote:
>> Yes my managed bean is in the faces-config.xml and the scope y set to
>> request. but still have de same problem.
>> Thanks
>>
>> On Thu, 02 Oct 2008 09:45:04 -0400, Guy Bashan <guy.bashan@gmail.com>  
>> wrote:
>>
>>> Beans in request 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:alexware69@gmail.com]
>>> 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 is not being called after
>>> subsequent requests?
>>>
>>> Thanks.
>>>
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Mime
View raw message