public abstract class AjaxNewWindowNotifyingBehavior extends AbstractDefaultAjaxBehavior
INDICATORINTERFACE| Constructor and Description |
|---|
AjaxNewWindowNotifyingBehavior()
Constructor.
|
AjaxNewWindowNotifyingBehavior(String windowName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onBind()
Subclasses should call super.onBind()
|
protected abstract void |
onNewWindow(AjaxRequestTarget target)
A callback method when a new window/tab is opened for a page instance
which is already opened in another window/tab.
|
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
protected void |
respond(AjaxRequestTarget target) |
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes)
Gives a chance to the specializations to modify the attributes.
|
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemovepublic AjaxNewWindowNotifyingBehavior()
public AjaxNewWindowNotifyingBehavior(String windowName)
windowName - the custom name to use for the page's windowprotected final void onBind()
AbstractDefaultAjaxBehavioronBind in class AbstractDefaultAjaxBehaviorAbstractAjaxBehavior.onBind()protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehaviorupdateAjaxAttributes in class AbstractDefaultAjaxBehaviorpublic void renderHead(Component component, IHeaderResponse response)
BehaviorrenderHead in interface IComponentAwareHeaderContributorrenderHead in class AbstractDefaultAjaxBehaviorcomponent - component which is contributing to the response. This parameter is here to give
the component as the context for component-awares implementing this interfaceresponse - Response objectBehavior.renderHead(Component,
org.apache.wicket.markup.head.IHeaderResponse)protected void respond(AjaxRequestTarget target)
respond in class AbstractDefaultAjaxBehaviortarget - The AJAX targetprotected abstract void onNewWindow(AjaxRequestTarget target)
target - the current ajax request handlerCopyright © 2006–2014 Apache Software Foundation. All rights reserved.