Class MootipAjaxListener
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.wicketstuff.minis.behavior.mootip.MootipAjaxListener
-
- All Implemented Interfaces:
Serializable,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
-
-
Constructor Summary
Constructors Constructor Description MootipAjaxListener(MootipPanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeRender(Component component)protected StringgetEscapedComponentMarkupId()Gets the escaped DOM id that the input will get attached to.protected voidrespond(AjaxRequestTarget target)-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, 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
canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
-
-
-
Constructor Detail
-
MootipAjaxListener
public MootipAjaxListener(MootipPanel panel)
-
-
Method Detail
-
beforeRender
public void beforeRender(Component component)
- Overrides:
beforeRenderin classBehavior
-
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:
respondin classAbstractDefaultAjaxBehavior
-
-