当前页面: 
在线文档首页 > 
JBoss Seam  1.0.0 API 英文版文档
PageContext (JBoss Seam API Documentation) - JBoss Seam  1.0.0 API 英文版文档
org.jboss.seam.contexts
Class PageContext
java.lang.Object
   org.jboss.seam.contexts.PageContext
org.jboss.seam.contexts.PageContext
- All Implemented Interfaces: 
- Context
- public class PageContext 
- extends Object- implements Context
The page context allows you to store state during a request that
 renders a page, and access that state from any postback request
 that originates from that page. The state is destroyed at the 
 end of the second request. During the RENDER_RESPONSE phase,
 the page context instance refers to the page that is about to
 be rendered. Prior to the INVOKE_APPLICATION phase, it refers
 to the page that was the source of the request. During the
 INVOKE_APPLICATION phase, set() and remove() manipulate the
 context of the page that is about to be rendered, while get()
 returns values from the page that was the source of the request.
- Version:
- $Revision: 1.2 $
- Author:
- Gavin King
 
 
 
PageContext
public PageContext()
getType
public ScopeType getType()
- 
- Specified by:
- getTypein interface- Context
 
- 
 
get
public Object get(String name)
- 
- Specified by:
- getin interface- Context
 
- 
 
isSet
public boolean isSet(String name)
- 
- Specified by:
- isSetin interface- Context
 
- 
 
set
public void set(String name,
                Object value)
- 
- Specified by:
- setin interface- Context
 
- 
 
remove
public void remove(String name)
- 
- Specified by:
- removein interface- Context
 
- 
 
getNames
public String[] getNames()
- 
- Specified by:
- getNamesin interface- Context
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
get
public Object get(Class clazz)
- 
- Specified by:
- getin interface- Context
 
- 
 
flush
public void flush()
- 
- Specified by:
- flushin interface- Context
 
-