public abstract class AjaxNewWindowNotifyingBehavior extends AbstractDefaultAjaxBehavior
onNewWindow(AjaxRequestTarget)
,
Serialized FormINDICATOR
INTERFACE
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, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
public AjaxNewWindowNotifyingBehavior()
public AjaxNewWindowNotifyingBehavior(String windowName)
windowName
- the custom name to use for the page's windowprotected final void onBind()
AbstractDefaultAjaxBehavior
onBind
in class AbstractDefaultAjaxBehavior
AbstractAjaxBehavior.onBind()
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehavior
updateAjaxAttributes
in class AbstractDefaultAjaxBehavior
public void renderHead(Component component, IHeaderResponse response)
Behavior
renderHead
in interface IComponentAwareHeaderContributor
renderHead
in class AbstractDefaultAjaxBehavior
component
- 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 AbstractDefaultAjaxBehavior
target
- The AJAX targetprotected abstract void onNewWindow(AjaxRequestTarget target)
target
- the current ajax request handlerCopyright © 2006–2019 Apache Software Foundation. All rights reserved.