org.mentawai.ajax
Class AjaxConsequence
java.lang.Object
org.mentawai.ajax.AjaxConsequence
- All Implemented Interfaces:
- Consequence
public class AjaxConsequence
- extends Object
- implements Consequence
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT
public static String OBJECT
DEFAULT_CHARSET
public static String DEFAULT_CHARSET
AjaxConsequence
public AjaxConsequence(AjaxRenderer renderer)
AjaxConsequence
public AjaxConsequence(AjaxRenderer renderer,
boolean pretty)
keyForObject
public AjaxConsequence keyForObject(String key)
source
public AjaxConsequence source(String key)
execute
public void execute(Action a,
String result,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws ConsequenceException
- Prints in the request's output the ajax response. The ajax response is supplied by the AjaxRenderer.
- Specified by:
execute in interface Consequence
- Parameters:
a - The action that generated this consequence.result - The result generated by the action.req - The servlet request of the action.res - The servlet response of the action.
- Throws:
ConsequenceException
Copyright © 2012. All Rights Reserved.