|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.target.component.BookmarkablePageRequestTarget org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget
public class BookmarkableListenerInterfaceRequestTarget
Request target for bookmarkable page links that also contain component path and interface name. This is used for stateless forms and stateless links.
Constructor Summary | |
---|---|
BookmarkableListenerInterfaceRequestTarget(String pageMapName,
Class<? extends Page> pageClass,
PageParameters pageParameters,
Component component,
RequestListenerInterface listenerInterface)
This constructor is called for generating the urls (RequestCycle.urlFor()) So it will alter the PageParameters to include the 2 org.apache.wicket params WebRequestCodingStrategy.BOOKMARKABLE_PAGE_PARAMETER_NAME and
WebRequestCodingStrategy.INTERFACE_PARAMETER_NAME |
|
BookmarkableListenerInterfaceRequestTarget(String pageMapName,
Class<? extends Page> pageClass,
PageParameters pageParameters,
String componentPath,
String interfaceName,
int versionNumber)
This constructor is called when a stateless link is clicked on but the page wasn't found in the session. |
Method Summary | |
---|---|
String |
getComponentPath()
|
String |
getInterfaceName()
|
void |
processEvents(RequestCycle requestCycle)
After a page is restored, this method is responsible for calling any event handling code based on the request. |
void |
respond(RequestCycle requestCycle)
Generates a response. |
Methods inherited from class org.apache.wicket.request.target.component.BookmarkablePageRequestTarget |
---|
detach, equals, getPage, getPage, getPageClass, getPageMapName, getPageParameters, hashCode, newPage, setPage, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BookmarkableListenerInterfaceRequestTarget(String pageMapName, Class<? extends Page> pageClass, PageParameters pageParameters, String componentPath, String interfaceName, int versionNumber)
pageMapName
- pageClass
- pageParameters
- componentPath
- interfaceName
- versionNumber
- public BookmarkableListenerInterfaceRequestTarget(String pageMapName, Class<? extends Page> pageClass, PageParameters pageParameters, Component component, RequestListenerInterface listenerInterface)
WebRequestCodingStrategy.BOOKMARKABLE_PAGE_PARAMETER_NAME
and
WebRequestCodingStrategy.INTERFACE_PARAMETER_NAME
pageMapName
- pageClass
- pageParameters
- component
- listenerInterface
- Method Detail |
---|
public void processEvents(RequestCycle requestCycle)
IEventProcessor
processEvents
in interface IEventProcessor
processEvents
in class BookmarkablePageRequestTarget
requestCycle
- the current request cyclepublic void respond(RequestCycle requestCycle)
IRequestTarget
respond
in interface IRequestTarget
respond
in class BookmarkablePageRequestTarget
requestCycle
- the current request cyclepublic String getComponentPath()
public String getInterfaceName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |