|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.ApplicationPages
Holder for specifying Wicket page classes that have special meaning to an application, such as an application's home page and any error display pages.
homePage (required, no default) - You must set this property to the bookmarkable page that you want the framework to respond with when no path information is specified.
internalErrorPage - You can override this with your own page class to display internal errors in a different way.
pageExpiredErrorPage - You can override this with your own bookmarkable page class to display expired page errors in a different way.
| Constructor Summary | |
ApplicationPages()
|
|
| Method Summary | |
java.lang.Class |
getHomePage()
Gets home page class. |
java.lang.Class |
getInternalErrorPage()
Gets internal error page class. |
java.lang.Class |
getPageExpiredErrorPage()
Gets the page expired page class. |
ApplicationPages |
setHomePage(java.lang.Class homePage)
Sets home page class. |
ApplicationPages |
setInternalErrorPage(java.lang.Class internalErrorPage)
Sets internal error page class. |
ApplicationPages |
setPageExpiredErrorPage(java.lang.Class pageExpiredErrorPage)
Sets the page expired page class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ApplicationPages()
| Method Detail |
public final java.lang.Class getHomePage()
setHomePage(Class)public final java.lang.Class getInternalErrorPage()
setInternalErrorPage(Class)public final java.lang.Class getPageExpiredErrorPage()
setPageExpiredErrorPage(Class)public final ApplicationPages setHomePage(java.lang.Class homePage)
homePage - The home page class
public final ApplicationPages setInternalErrorPage(java.lang.Class internalErrorPage)
internalErrorPage - The internalErrorPage to set.
public final ApplicationPages setPageExpiredErrorPage(java.lang.Class pageExpiredErrorPage)
pageExpiredErrorPage - The pageExpiredErrorPage to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||