站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 API 英文版文档

Pages (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档


org.jboss.seam.core
Class Pages

java.lang.Object
  extended by org.jboss.seam.core.Pages

@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.core.pages")
public class Pages
extends Object

Holds metadata for pages defined in pages.xml, including page actions and page descriptions.

Author:
Gavin King

Field Summary
static String PAGE_PARAMETERS
           
 
Constructor Summary
Pages()
           
 
Method Summary
 void applyRequestParameterValues(javax.faces.context.FacesContext facesContext)
           
 void applyViewRootValues(javax.faces.context.FacesContext facesContext)
           
 boolean callAction()
           
static boolean callAction(javax.faces.context.FacesContext facesContext)
           
 String encodePageParameters(String url, String viewId)
          Encode page parameters into a URL
 String getDescription(String viewId)
           
 String getNoConversationViewId()
           
 String getNoConversationViewId(String viewId)
           
 Map<String,Object> getParameters(String viewId)
           
 Map<String,Object> getParameters(String viewId, Set<String> overridden)
           
static String getSuffix()
           
 Integer getTimeout(String viewId)
           
 boolean hasDescription(String viewId)
           
 void initialize()
           
static Pages instance()
           
 void setNoConversationViewId(String noConversationViewId)
           
 void storePageParameters(javax.faces.context.FacesContext facesContext)
          Store the page parameters to the JSF view root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_PARAMETERS

public static final String PAGE_PARAMETERS
See Also:
Constant Field Values
Constructor Detail

Pages

public Pages()
Method Detail

initialize

@Create
public void initialize()
                throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

hasDescription

public boolean hasDescription(String viewId)

getDescription

public String getDescription(String viewId)

getTimeout

public Integer getTimeout(String viewId)

callAction

public boolean callAction()

instance

public static Pages instance()

callAction

public static boolean callAction(javax.faces.context.FacesContext facesContext)

getNoConversationViewId

public String getNoConversationViewId(String viewId)

getParameters

public Map<String,Object> getParameters(String viewId)

getParameters

public Map<String,Object> getParameters(String viewId,
                                        Set<String> overridden)

applyRequestParameterValues

public void applyRequestParameterValues(javax.faces.context.FacesContext facesContext)

applyViewRootValues

public void applyViewRootValues(javax.faces.context.FacesContext facesContext)

getNoConversationViewId

public String getNoConversationViewId()

setNoConversationViewId

public void setNoConversationViewId(String noConversationViewId)

encodePageParameters

public String encodePageParameters(String url,
                                   String viewId)
Encode page parameters into a URL

Parameters:
url - the base URL
viewId - the JSF view id of the page
Returns:
the URL with parameters appended

storePageParameters

public void storePageParameters(javax.faces.context.FacesContext facesContext)
Store the page parameters to the JSF view root


getSuffix

public static String getSuffix()