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" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
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 <[EMAIL PROTECTED]> 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.