Class JQueryDestroyListener

  • All Implemented Interfaces:
    org.apache.wicket.ajax.AjaxRequestTarget.IListener

    public class JQueryDestroyListener
    extends Object
    implements org.apache.wicket.ajax.AjaxRequestTarget.IListener
    INTERNAL USE
    Provides an IListener for JQueryUIBehaviors that destroys widgets about to be repainted.
    Author:
    Sebastien Briquet - sebfz1
    • Constructor Detail

      • JQueryDestroyListener

        public JQueryDestroyListener()
    • Method Detail

      • onBeforeRespond

        public void onBeforeRespond​(Map<String,​org.apache.wicket.Component> map,
                                    org.apache.wicket.ajax.AjaxRequestTarget target)
        Specified by:
        onBeforeRespond in interface org.apache.wicket.ajax.AjaxRequestTarget.IListener
      • newBeforeRespondVisitor

        protected static org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,​Object> newBeforeRespondVisitor​(org.apache.wicket.ajax.AjaxRequestTarget target)
        Gets a new IVisitor that will be used by onBeforeRespond(Map, AjaxRequestTarget)
        Parameters:
        target - the AjaxRequestTarget
        Returns:
        the new IVisitor