org.wicketstuff.minis.mootipbehavior
Class MootipAjaxListener

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.wicketstuff.minis.mootipbehavior.MootipAjaxListener
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor

public class MootipAjaxListener
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

Internal class used by MooTip integration, used for ajxax 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(org.apache.wicket.Component component)
           
protected  java.lang.String getEscapedComponentMarkupId()
          Gets the escaped DOM id that the input will get attached to.
protected  void onBind()
           
protected  void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
           
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, renderHead, throttleScript
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered
 
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

onBind

protected void onBind()
Overrides:
onBind in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

respond

protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
Specified by:
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

beforeRender

public void beforeRender(org.apache.wicket.Component component)
Specified by:
beforeRender in interface org.apache.wicket.behavior.IBehavior
Overrides:
beforeRender in class org.apache.wicket.behavior.AbstractBehavior

getEscapedComponentMarkupId

protected final java.lang.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}


Copyright © 2010. All Rights Reserved.