Thanks, that's what I was looking for.

Gerald Müllan wrote:
> 
> Hi,
> 
> i think you have to do only something like this after clicking on the
> side-bar (in an action method):
> 
>         FacesContext facesContext = FacesContext.getCurrentInstance();
>        
> facesContext.getExternalContext().getRequestMap().remove(beanName);
> 
> We use it in our current application, and it works perfectly,
> 
> cheers,
> 
> Gerald
> 
> On 9/18/06, mjovanov <[EMAIL PROTECTED]> wrote:
>>
>> Hi everyone,
>>
>> On page X I have a saveState tag to preserve the state of a backing bean
>> between requests.  There is also a link on the side navigation bar that
>> is
>> used to navigate to page X.  Whenever a user clicks this link, I do not
>> want
>> to de-serialize the backing bean but rather I want a new instance of the
>> backing bean to be created (just like it is the case on the original
>> load)
>> Is there any way to do this (for example to somehow overrides the
>> behavior
>> of the saveState tag in such  case).  Perhaps someone can explain the
>> internals of the saveState implementation; that would be really helpful.
>> Thanks in advance.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Question-About-saveState-tf2294657.html#a6374835
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Question-About-saveState-tf2294657.html#a6390678
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to