|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.context.DirtyPageHandler.DirtyPageContext
public abstract static class DirtyPageHandler.DirtyPageContext
Context class passed to the DirtyPageHandler's trackNavigation
when DirtyPageHandler needs to track navigation and call confirmNavigation
when a navigation will result in the loss of uncommitted data
Constructor Summary | |
---|---|
DirtyPageHandler.DirtyPageContext() |
Method Summary | |
---|---|
abstract void |
confirmNavigation(java.lang.String confirmationToken) Called by the DirtyPageHandler implementation when a navigation that would result in data loss occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirtyPageHandler.DirtyPageContext()
Method Detail |
---|
public abstract void confirmNavigation(java.lang.String confirmationToken)
After this method is called, the user will be asked to confirm the navigation. If the user confirms the navigation, the view will call DirtyPageHandler.navigationConfirmed
with the token passed to confirmNavigation
and then call FacesContext.renderResponse(). Otherwise, the view will call DirtyPageHandler.navigationCanceled
passing the same token.
It is the DirtyPageHandler's responsibility to save and restore its state as necessary using the token.
confirmationToken
- Token representing any state that needs to be restored if the user confirms the navigationDirtyPageHandler.navigationConfirmed(java.lang.String)
, DirtyPageHandler.navigationCanceled(java.lang.String)
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |