Class AddInterfaceBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- lumis.portal.presentation.mode.portaladministration.AddInterfaceBehavior
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public class AddInterfaceBehavior extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Behavior that provides the javascript for processing an add of an interface, during the edit of a page.- Since:
- 6.0.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddInterfaceBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequence
getCallbackUrl()
protected java.lang.String
getFunctionName()
Returns the javascript function name that calls this behavior.protected void
insertInterfaceInstance(java.lang.String serviceInterfaceInstanceId, org.apache.wicket.ajax.AjaxRequestTarget target)
Inserts an interface instance in a holder, according to the current request.void
renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
protected void
respond(org.apache.wicket.ajax.AjaxRequestTarget target)
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Method Detail
-
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
respond
in classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
getFunctionName
protected java.lang.String getFunctionName()
Returns the javascript function name that calls this behavior.- Returns:
- the javascript function name.
-
insertInterfaceInstance
protected void insertInterfaceInstance(java.lang.String serviceInterfaceInstanceId, org.apache.wicket.ajax.AjaxRequestTarget target)
Inserts an interface instance in a holder, according to the current request.- Parameters:
serviceInterfaceInstanceId
- the service interface instance identifier.target
- the AJAX request target.- Since:
- 6.0.0
-
getCallbackUrl
public java.lang.CharSequence getCallbackUrl()
- Overrides:
getCallbackUrl
in classorg.apache.wicket.behavior.AbstractAjaxBehavior
-
renderHead
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
- Specified by:
renderHead
in interfaceorg.apache.wicket.markup.html.IComponentAwareHeaderContributor
- Overrides:
renderHead
in classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
-