|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.core.Manager
org.jboss.seam.faces.FacesManager
@Scope(value=EVENT)
@Name(value="org.jboss.seam.core.manager")
@Install(precedence=10,
classDependencies="javax.faces.context.FacesContext")
@BypassInterceptors
public class FacesManagerAn extended conversation manager for the JSF environment.
| Field Summary |
|---|
| Fields inherited from class org.jboss.seam.core.Manager |
|---|
REDIRECT_FROM_MANAGER |
| Constructor Summary | |
|---|---|
FacesManager()
|
|
| Method Summary | |
|---|---|
String |
appendConversationIdFromRedirectFilter(String url,
String viewId)
Called by the Seam Redirect Filter when a redirect is called. |
void |
beforeRedirect(String viewId)
Temporarily promote a temporary conversation to a long running conversation for the duration of a browser redirect. |
protected String |
generateInitialConversationId()
|
static FacesManager |
instance()
|
void |
interpolateAndRedirect(String url)
|
void |
prepareBackswitch(javax.faces.context.FacesContext facesContext)
If a page description is defined, remember the description and view id for the current page, to support conversation switching. |
void |
redirect(String viewId)
Redirect to the given view id, encoding the conversation id into the request URL. |
void |
redirect(String viewId,
Map<String,Object> parameters,
boolean includeConversationId)
Redirect to the given view id, after encoding parameters and conversation id into the request URL. |
void |
redirect(String viewId,
String conversationId)
Redirect to the given view id, after encoding the given conversation id into the request URL. |
protected void |
storeConversationToViewRootIfNecessary()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FacesManager()
| Method Detail |
|---|
public void beforeRedirect(String viewId)
public void interpolateAndRedirect(String url)
public void redirect(String viewId)
redirect in class ManagerviewId - the JSF view idprotected void storeConversationToViewRootIfNecessary()
storeConversationToViewRootIfNecessary in class Managerprotected String generateInitialConversationId()
generateInitialConversationId in class Manager
public void redirect(String viewId,
Map<String,Object> parameters,
boolean includeConversationId)
viewId - the JSF view idparameters - request parameters to be encoded (possibly null)includeConversationId - determines if the conversation id is to be encoded
public void redirect(String viewId,
String conversationId)
redirect in class ManagerviewId - the JSF view idconversationId - an id of a long-running conversation
public String appendConversationIdFromRedirectFilter(String url,
String viewId)
url - the requested URL
public void prepareBackswitch(javax.faces.context.FacesContext facesContext)
public static FacesManager instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||