public abstract class HistoryAjaxBehavior
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Constructor and Description |
---|
HistoryAjaxBehavior() |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getCallbackUrl() |
abstract void |
onAjaxHistoryEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
String componentId)
A callback method which will be invoked when the user presses the back/forward buttons of the
browser
|
void |
registerAjaxEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
Registers a new entry in the history if this request is not triggered by back/forward buttons
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
afterRender, bind, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public final CharSequence getCallbackUrl()
getCallbackUrl
in class org.apache.wicket.behavior.AbstractAjaxBehavior
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
public abstract void onAjaxHistoryEvent(org.apache.wicket.ajax.AjaxRequestTarget target, String componentId)
target
- the current request targetcomponentId
- the wicket:id of the component which had triggered the previous Ajax history entrypublic void registerAjaxEvent(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
target
- the current request targetcomponent
- the component which triggered this Ajax requestCopyright © 2015. All rights reserved.