当前页面:
在线文档首页 >
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
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 |
PAGE_PARAMETERS
public static final String PAGE_PARAMETERS
- See Also:
- Constant Field Values
Pages
public Pages()
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 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()