|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.core.Pages
@Scope(value=APPLICATION) @Intercept(value=NEVER) @Name(value="org.jboss.seam.core.pages") @Install(precedence=0) public class Pages
Holds metadata for pages defined in pages.xml, including page actions and page descriptions.
Constructor Summary | |
---|---|
Pages()
|
Method Summary | |
---|---|
void |
applyRequestParameterValues(javax.faces.context.FacesContext facesContext)
|
void |
applyViewRootValues(javax.faces.context.FacesContext facesContext)
|
static boolean |
callAction(javax.faces.context.FacesContext facesContext)
|
boolean |
callActions(javax.faces.context.FacesContext facesContext)
Call page actions, from most general view id to most specific |
String |
encodePageParameters(javax.faces.context.FacesContext facesContext,
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()
|
String |
getNoConversationViewId(String viewId)
Search for a defined no-conversation-view-id, beginning with the most specific view id, then wildcarded view ids, and finally the global setting |
Page |
getPage(String viewId)
|
protected List<Page> |
getPageStack(String viewId)
|
protected Map<String,Object> |
getParameters(String viewId)
|
List<ResourceBundle> |
getResourceBundles(String viewId)
Build a list of page-scoped resource bundles, from most specific view id, to most general. |
static String |
getSuffix()
|
Integer |
getTimeout(String viewId)
Search for a defined conversation timeout, beginning with the most specific view id, then wildcarded view ids, and finally the global setting from Manager |
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 |
---|
public Pages()
Method Detail |
---|
@Create public void initialize()
public Page getPage(String viewId)
protected List<Page> getPageStack(String viewId)
public boolean callActions(javax.faces.context.FacesContext facesContext)
public static Pages instance()
public static boolean callAction(javax.faces.context.FacesContext facesContext)
public List<ResourceBundle> getResourceBundles(String viewId)
public Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext, String viewId)
protected Map<String,Object> getParameters(String viewId)
public Map<String,Object> getConvertedParameters(javax.faces.context.FacesContext facesContext, String viewId, Set<String> overridden)
public void applyRequestParameterValues(javax.faces.context.FacesContext facesContext)
public void applyViewRootValues(javax.faces.context.FacesContext facesContext)
public String getNoConversationViewId()
public void setNoConversationViewId(String noConversationViewId)
public String encodePageParameters(javax.faces.context.FacesContext facesContext, String url, String viewId)
url
- the base URLviewId
- the JSF view id of the page
public void storePageParameters(javax.faces.context.FacesContext facesContext)
public String getNoConversationViewId(String viewId)
public Integer getTimeout(String viewId)
public static String getSuffix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |