当前页面:
在线文档首页 >
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
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pages
public Pages()
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 URLviewId
- 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()