|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequestablePage
Base interface for pages. The purpose of this interface is to make certain parts of Wicket easier to mock and unit test.
Method Summary | |
---|---|
PageParameters |
getPageParameters()
Returns the PageParameters for the page. |
int |
getRenderCount()
Returns the number of times this page has been rendered. |
boolean |
isBookmarkable()
Bookmarkable page can be instantiated using a bookmarkable URL. |
void |
renderPage()
Renders the page |
boolean |
wasCreatedBookmarkable()
Returns whether the page instance was created by a bookmarkable URL. |
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent |
---|
detach, get, getBehaviorById, getBehaviorId, getId, getPage, getPageRelativePath |
Methods inherited from interface org.apache.wicket.page.IManageablePage |
---|
detach, getPageId, isPageStateless, setFreezePageId |
Method Detail |
---|
void renderPage()
boolean isBookmarkable()
int getRenderCount()
For example a same page might have been rendered in two separate tabs. Page render doesn't change page id but it can modify component hierarchy. Listener interface links on such page should only work in tab where the page was rendered most recently.
boolean wasCreatedBookmarkable()
true
if this page has been created by a bookmarkable URL,
false
otherwise.PageParameters getPageParameters()
PageParameters
for the page. Each bookmarkable page instance should have
PageParameters
associated with it. The page parameters are initialized from URL when
page is created and are updated on every page render request.
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |