org.wicketopia.listener.ajax
Class AutoFeedbackListener

java.lang.Object
  extended by org.wicketopia.listener.ajax.AutoFeedbackListener
All Implemented Interfaces:
org.apache.wicket.ajax.AjaxRequestTarget.IListener

public class AutoFeedbackListener
extends Object
implements org.apache.wicket.ajax.AjaxRequestTarget.IListener

Add this to your AjaxRequestTarget and your feedback panels will automatically be included in the AJAX response if they have messages.

Since:
1.0

Constructor Summary
AutoFeedbackListener()
           
 
Method Summary
 void onAfterRespond(Map<String,org.apache.wicket.Component> map, org.apache.wicket.ajax.AjaxRequestTarget.IJavaScriptResponse response)
           
 void onBeforeRespond(Map<String,org.apache.wicket.Component> map, org.apache.wicket.ajax.AjaxRequestTarget target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoFeedbackListener

public AutoFeedbackListener()
Method Detail

onAfterRespond

public void onAfterRespond(Map<String,org.apache.wicket.Component> map,
                           org.apache.wicket.ajax.AjaxRequestTarget.IJavaScriptResponse response)
Specified by:
onAfterRespond in interface org.apache.wicket.ajax.AjaxRequestTarget.IListener

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


Copyright © 2010-2013. All Rights Reserved.