org.wicketstuff.minis.behavior.mootip
Class MootipAjaxListener

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.wicketstuff.minis.behavior.mootip.MootipAjaxListener
All Implemented Interfaces:
Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable

public class MootipAjaxListener
extends AbstractDefaultAjaxBehavior

Internal class used by MooTip integration, used for AJAX calls

Author:
nino.martinez @ jayway.dk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
MootipAjaxListener(MootipPanel panel)
           
 
Method Summary
 void beforeRender(Component component)
           
protected  String getEscapedComponentMarkupId()
          Gets the escaped DOM id that the input will get attached to.
protected  void respond(AjaxRequestTarget target)
           
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
 
Methods inherited from class org.apache.wicket.behavior.Behavior
canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MootipAjaxListener

public MootipAjaxListener(MootipPanel panel)
Method Detail

beforeRender

public void beforeRender(Component component)
Overrides:
beforeRender in class Behavior

getEscapedComponentMarkupId

protected final String getEscapedComponentMarkupId()
Gets the escaped DOM id that the input will get attached to. All non word characters (\W) will be removed from the string.

Returns:
The DOM id of the input - same as the component's markup id}

respond

protected void respond(AjaxRequestTarget target)
Specified by:
respond in class AbstractDefaultAjaxBehavior


Copyright © 2014. All rights reserved.