www.element4solution.com

e4s.html.ajax
Class E4AjaxElementInputValueChanger

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.html.E4HtmlElementGeneral
              extended by e4s.html.E4HtmlElement
                  extended by e4s.html.E4HtmlContentElement
                      extended by e4s.html.DIV
                          extended by e4s.html.ajax.E4AjaxElementGeneral
                              extended by e4s.html.ajax.E4AjaxElementInputValueChanger
All Implemented Interfaces:
E4HtmlElement_Intf

public class E4AjaxElementInputValueChanger
extends E4AjaxElementGeneral
implements E4HtmlElement_Intf

Change the value of an input field. Note, that this is done by a server side mechanism, not client side JavaScript. It is only supported by client side JavaScript.

Example_Ajax_TEXTFIELD.java

See Also:
E4SelectValuesAjax, e4s.html.input.extended.field, E4AjaxElementSelectOptionsChanger

Field Summary
 
Fields inherited from class e4s.html.ajax.E4AjaxElementGeneral
JS_XML_HTTP_REQUEST, m_debug, m_id, m_js_AEP_callback_after, m_js_AEP_callback_before, m_url, READY_STATE_COMPLETE
 
Fields inherited from class e4s.html.DIV
DEFAULTSTYLE, HTML_TAG
 
Fields inherited from class e4s.html.E4HtmlContentElement
BOOL_STR_FALSE, BOOL_STR_TRUE
 
Fields inherited from class e4s.html.E4HtmlElementGeneral
m_elements, m_needed_scripts
 
Fields inherited from class e4s.html.E4HtmlObject
m_parent_e4sID
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, DATEFIELD field, boolean debug)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, FLOATFIELD field, boolean debug)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, LONGFIELD field, boolean debug)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, SELECT field, boolean debug)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, TEXTFIELD field, boolean debug)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, FORM form, DATEFIELD field, E4ServletImplementation_Intf servlet)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, FORM form, FLOATFIELD field, E4ServletImplementation_Intf servlet)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, FORM form, LONGFIELD field, E4ServletImplementation_Intf servlet)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, FORM form, SELECT field, E4ServletImplementation_Intf servlet)
           
E4AjaxElementInputValueChanger(E4AjaxData_Intf data, FORM form, TEXTFIELD field, E4ServletImplementation_Intf servlet)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
protected  void updateOnReadyReqCore(E4JavaScript js)
           
 
Methods inherited from class e4s.html.ajax.E4AjaxElementGeneral
collectScripts, collectStylesForEditing, collectTranslationsForEditing, getDebug, getJsCallMethod, getMethodDispacher, getOnChange, getOnClick, getOnClick, getOnReadyRequest, getOnTimer, getOnTimer, getSendReqScript, getSendReqScriptGeneric, getShowOnLoad, getTimeout, prepare, setAEPCallbackScript_After, setAEPCallbackScript_After, setAEPCallbackScript_Before, setAEPCallbackScript_Before, setData, setData, setMethodDispacher, setNameScripts, setShowOnLoad, setTimeout, toHtml, toString, updateOnReadyReq, validate
 
Methods inherited from class e4s.html.DIV
eventHandlers, getAlign, getDivId, getStyleHide, hide, jsClear, jsHide, jsIsOpen, jsShow, jsWrite, onMouseOut, onMouseOver, setAlign, setEventHandler, setSTYLE, setStyle, setStyleHide, setTitle, show, toHtml
 
Methods inherited from class e4s.html.E4HtmlContentElement
A_Email, A_Email, A_Multiple, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Reference, A_Reference, A_Reference, A_Reference, A_Reference, A_ReturnValue, A_ReturnValue, A_ReturnValue, A_ReturnValue, A, A, A, A, A, A, A, AjaxElement, AjaxElement, AjaxElement, B, B, BIG, Box, Box, Box, BoxRoundCorners, BoxRoundCorners, BoxRoundCorners, BR, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, CENTER, DEL, DIV, DIV, DIV, DIV, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FullSizeE4Message, H1, H2, H3, H4, Hint, HR, I, I, IMG, IMG, IMG, IMG, IMG, IMG, IMG, IMG, INS, Message, Message, Message, Message, Message, NBSP, NOBR, P_NBSP, P, PRE, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, rem, rem, rem, rem, rem, rem, SMALL, SPAN, STRIKE, strike, SystemError, SystemError, SystemError, SystemError, TABLE, TABLE, trace, trace, trace, trace, trace, trace, translate_Sys, translate, U, UL
 
Methods inherited from class e4s.html.E4HtmlElement
addElement, addElement, addElement, copyElements, print
 
Methods inherited from class e4s.html.E4HtmlElementGeneral
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, collectStylesForEditing, collectStylesForEditing, collectTranslationsForEditing, createScript, createScript, debugToString, findElement, findElement, findElement, findElement, getElements, getElementsVec, getField, getId, getLastElement, getStringContent, getStyle, getSTYLE, getStyle, hasScripts, hasSTYLE, isContentClass, isE4InputField_Intf, openTag, removeAll, removeElementById, removeElements, removeElements, removeStyle, setId, setReadOnly, setStyle, setStyle, setSTYLE, setValue, Style, Style, toHtml_hidden
 
Methods inherited from class e4s.html.E4HtmlObject
E4ID, E4ID, set_e4sID
 
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, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, 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
 
Methods inherited from interface e4s.html.E4HtmlElement_Intf
addScript, addScript, addScript, collectScripts, collectStylesForEditing, collectTranslationsForEditing, debugToString, findElement, findElement, getElements, getElementsVec, getField, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, toHtml, validate
 

Constructor Detail

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      E4ServletImplementation_Intf servlet,
                                      FORM form,
                                      TEXTFIELD field,
                                      boolean debug)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      E4ServletImplementation_Intf servlet,
                                      FORM form,
                                      SELECT field,
                                      boolean debug)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      E4ServletImplementation_Intf servlet,
                                      FORM form,
                                      FLOATFIELD field,
                                      boolean debug)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      E4ServletImplementation_Intf servlet,
                                      FORM form,
                                      DATEFIELD field,
                                      boolean debug)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      E4ServletImplementation_Intf servlet,
                                      FORM form,
                                      LONGFIELD field,
                                      boolean debug)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      FORM form,
                                      TEXTFIELD field,
                                      E4ServletImplementation_Intf servlet)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      FORM form,
                                      FLOATFIELD field,
                                      E4ServletImplementation_Intf servlet)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      FORM form,
                                      SELECT field,
                                      E4ServletImplementation_Intf servlet)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      FORM form,
                                      LONGFIELD field,
                                      E4ServletImplementation_Intf servlet)

E4AjaxElementInputValueChanger

public E4AjaxElementInputValueChanger(E4AjaxData_Intf data,
                                      FORM form,
                                      DATEFIELD field,
                                      E4ServletImplementation_Intf servlet)
Method Detail

updateOnReadyReqCore

protected void updateOnReadyReqCore(E4JavaScript js)
Specified by:
updateOnReadyReqCore in class E4AjaxElementGeneral

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com