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

Pages (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 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

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
 Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext, String viewId)
           
 Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext, String viewId, Set<String> overridden)
           
 String getNoConversationViewId()
           
 Page getPage(String viewId)
           
 Map<String,Object> getParameters(String viewId)
           
static String getSuffix()
           
 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
 

Constructor Detail

Pages

public Pages()
Method Detail

initialize

@Create
public void initialize()

getPage

public Page getPage(String viewId)

callAction

public boolean callAction()

instance

public static Pages instance()

callAction

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

getConvertedParameters

public Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext,
                                                 String viewId)

getParameters

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

getConvertedParameters

public Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext,
                                                 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()