|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.request.target.component.PageIdRequestTarget
public class PageIdRequestTarget
Target that navigates to a page pointed to by its id. The great benefit of this target over the PageRequestTarget is that no reference to the actual page is needed, which greatly facilitates navigational usecases where a list or a stack of page references is needed (ie breadcrumbs).
PageId
Constructor Summary | |
---|---|
PageIdRequestTarget(Page page)
Constructor Even though a page is passed in, only a reference to its PageId is kept |
|
PageIdRequestTarget(PageId pageId)
Constructor |
Method Summary | |
---|---|
void |
detach(RequestCycle requestCycle)
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done. |
PageId |
getPageId()
|
void |
respond(RequestCycle requestCycle)
Generates a response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageIdRequestTarget(Page page)
PageId
is kept
page
- public PageIdRequestTarget(PageId pageId)
pageId
- Method Detail |
---|
public final PageId getPageId()
public void respond(RequestCycle requestCycle)
respond
in interface IRequestTarget
requestCycle
- the current request cyclepublic void detach(RequestCycle requestCycle)
detach
in interface IRequestTarget
requestCycle
- the current request cycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |