|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.custom.scope.ScopeHolder
public class ScopeHolder
A central sessions holder, which stores the triggered scopes and also does the scope synching at the end
| Constructor Summary | |
|---|---|
ScopeHolder()
|
|
| Method Summary | |
|---|---|
void |
pageRefresh()
the rendering is done we need to dump the unused scopes |
void |
resetScope(java.lang.String key)
|
void |
resetScopes()
|
java.lang.Object |
restoreScopeEntry(java.lang.String key)
fetches an old scope from the scope map |
void |
saveScopeEntry(javax.faces.component.UIComponent parent,
javax.faces.context.FacesContext context,
javax.faces.el.ValueBinding scopeBindingValue)
note we use the global session internally not the portlet one, if you use portlets please-keep that in mind with your scope names |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScopeHolder()
| Method Detail |
|---|
public java.lang.Object restoreScopeEntry(java.lang.String key)
key -
public void saveScopeEntry(javax.faces.component.UIComponent parent,
javax.faces.context.FacesContext context,
javax.faces.el.ValueBinding scopeBindingValue)
parent - the parent componentcontext - the current faces contextscopeBindingValue - the scope value bindingpublic void pageRefresh()
public void resetScopes()
public void resetScope(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||