org.zkoss.spring.js.ajax
Class ZkAjaxHandler

java.lang.Object
  extended by org.zkoss.spring.js.ajax.ZkAjaxHandler
All Implemented Interfaces:
org.springframework.js.ajax.AjaxHandler

public class ZkAjaxHandler
extends java.lang.Object
implements org.springframework.js.ajax.AjaxHandler

Handle ZK Event trigger Flow transition.

Since:
1.1
Author:
henrichen

Field Summary
static java.lang.String POPUP
           
static java.lang.String POPUP_EVENT
           
 
Constructor Summary
ZkAjaxHandler()
           
 
Method Summary
 boolean isAjaxRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void sendAjaxRedirect(java.lang.String targetUrl, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean popup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPUP

public static final java.lang.String POPUP
See Also:
Constant Field Values

POPUP_EVENT

public static final java.lang.String POPUP_EVENT
See Also:
Constant Field Values
Constructor Detail

ZkAjaxHandler

public ZkAjaxHandler()
Method Detail

isAjaxRequest

public boolean isAjaxRequest(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
Specified by:
isAjaxRequest in interface org.springframework.js.ajax.AjaxHandler

sendAjaxRedirect

public void sendAjaxRedirect(java.lang.String targetUrl,
                             javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             boolean popup)
                      throws java.io.IOException
Specified by:
sendAjaxRedirect in interface org.springframework.js.ajax.AjaxHandler
Throws:
java.io.IOException


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.