You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Gerald Müllan <gm...@apache.org> on 2008/03/28 11:48:58 UTC
Re: How to clear data already t:saveState manually in code?
Hi,
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.getExternalContext().getRequestMap().remove(beanName);
cheers,
Gerald
On Fri, Mar 28, 2008 at 11:26 AM, jimmyau <ji...@privasia.com> wrote:
>
>
> How to clear data already t:saveState manually in code?
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: How to clear data already t:saveState manually in code?
Posted by jimmyau <ji...@privasia.com>.
i am not saving bean. is it the id of saveState is the key in the map?
<t:saveState id="srn" value="#{srnAddBean.selectedTab}"></t:saveState>
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.getExternalContext().getRequestMap().remove("srn");
----- Original Message -----
From: "Gerald Müllan" <gm...@apache.org>
To: "MyFaces Discussion" <us...@myfaces.apache.org>
Sent: Friday, March 28, 2008 6:48 PM ii
Subject: Re: How to clear data already t:saveState manually in code?
> Hi,
>
> FacesContext facesContext = FacesContext.getCurrentInstance();
> facesContext.getExternalContext().getRequestMap().remove(beanName);
>
> cheers,
>
> Gerald
>
> On Fri, Mar 28, 2008 at 11:26 AM, jimmyau <ji...@privasia.com> wrote:
>>
>>
>> How to clear data already t:saveState manually in code?
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1345 - Release Date: 3/26/2008
> 6:50 PM
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.