e4s.application.sysmodule.ajax
Class E4ModuleAjaxDispacher
java.lang.Object
e4s.util.E4Object
e4s.html.E4HtmlObject
e4s.servlet.E4ModuleImplementation
e4s.application.sysmodule.ajax.E4ModuleAjaxDispacher
public class E4ModuleAjaxDispacher
- extends E4ModuleImplementation
This module dispaches E4Ajax requests to the E4AjaxData_Intf
implementations. Each implementation is collected in a E4AjaxDataRepository
object which is hold as session-object (E4ServletImplementation_Intf.getSessionObject(String).
- See Also:
e4s.html.AjaxElement#setMethodDispacher(e4s.html.E4Method),
e4s.html.AjaxElement#getMethodDispacher(),
e4s.html.AjaxElement,
E4AjaxData_Intf,
E4AjaxDataRepository
| Methods inherited from class e4s.servlet.E4ModuleImplementation |
canDo, canDo, canRun, closeHtmlOutput, empty2nbsp, empty2nbsp, getApplication_Permissions, getApplication, getApplObj, getClient, getClientImage, getClientObject, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDbConnection, getDecimalSign, getE4ClientLogo, getE4S_Permissions, getLanguage_App, getLanguage_Sys, getLanguage, getParameters, getPersistantParameter, getPersistantParameterBoolean, getPersistantParameterDate, getPersistantParameterInt, getPersistantParameterIntArr, getPersistantParameterLong, getPickParams, getRemoteAddr, getRequiredModulePermission, getServlet, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUrl, getUserEmail, getUserValue, getUserValue, getUserValueArr, getUserValueBool, getUserValueBool, getUserValueDate, getUserValueDate, getUserValueInt, getUserValueInt, getUserValueLong, getUserValueLong, isok, isPersistant, isRunningWindow, isTimeout, ok, openHtmlOutput, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeUserValue, removeUserValue, resetClientLogo, setAjaxTrace, setApplication, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setServlet, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, write, write, write, write, write, writeln, writeln, writeln, writeln |
| Methods inherited from class e4s.util.E4Object |
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getAjaxData
public static E4MethodSilent getAjaxData
SESS_OBJ_TRACE_AJAX
public static final java.lang.String SESS_OBJ_TRACE_AJAX
- See Also:
- Constant Field Values
PARAM_DATA
public static final java.lang.String PARAM_DATA
- See Also:
- Constant Field Values
E4ModuleAjaxDispacher
public E4ModuleAjaxDispacher()
setAjaxTrace
public static void setAjaxTrace(E4ServletImplementation_Intf servlet,
boolean mode)
- This function can be used to force ajax output beeing written into a html file which is under the
directory
E4Client.getRootPathAbsolute() /temp/ajaxtrace. It will be enabled
or disabled for the current session only.
- Parameters:
servlet - a valid E4ServletImplementation_Servlet contextmode - true to enable trace, false to disable trace- See Also:
E4ModuleImplementation.setAjaxTrace(boolean),
#isAjaxTrace()
getAjaxData
public void getAjaxData(HTML html,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeHtmlRemarks
public static E4StringBufferHtml removeHtmlRemarks(E4StringBufferHtml buf)
getData
public E4AjaxData_Intf getData(java.lang.String id)
getData
public static E4AjaxData_Intf getData(E4ServletImplementation_Intf servlet,
java.lang.String id)
getData
public static E4AjaxData_Intf getData(E4ServletImplementation_Intf servlet,
E4CgiParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDataRepository
public E4AjaxDataRepository getDataRepository()
getDataRepository
public static E4AjaxDataRepository getDataRepository(E4ServletImplementation_Intf servlet)
_getSVNVersionString
public static java.lang.String _getSVNVersionString()