www.element4solution.com

e4s.html.ajax
Class E4AjaxElementSelectOptionsChanger

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.E4AjaxElementSelectOptionsChanger
All Implemented Interfaces:
E4HtmlElement_Intf

public class E4AjaxElementSelectOptionsChanger
extends E4AjaxElementGeneral
implements E4HtmlElement_Intf

Change the options of a SELECT input element.

Example_Ajax_SELECT.java

See Also:
E4SelectValuesAjax, SELECT, E4AjaxElementInputValueChanger

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
E4AjaxElementSelectOptionsChanger(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, FORM form, SELECT select, boolean debug)
          Create an E4AjaxElement.
E4AjaxElementSelectOptionsChanger(E4AjaxData_Intf data, FORM form, SELECT select, E4ServletImplementation_Intf servlet)
          Create an E4AjaxElement.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 void SELECT_ChangeOnly(SELECT select)
           
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

E4AjaxElementSelectOptionsChanger

public E4AjaxElementSelectOptionsChanger(E4AjaxData_Intf data,
                                         FORM form,
                                         SELECT select,
                                         E4ServletImplementation_Intf servlet)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
See Also:
E4HtmlContentElement.AjaxElement(e4s.html.ajax.E4AjaxData_Intf,e4s.servlet.E4ServletImplementation_Intf)

E4AjaxElementSelectOptionsChanger

public E4AjaxElementSelectOptionsChanger(E4AjaxData_Intf data,
                                         E4ServletImplementation_Intf servlet,
                                         FORM form,
                                         SELECT select,
                                         boolean debug)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
debug - if true then an alert with the rendered output will be displayed - only for development environments
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
select - the selection which options's shall be changed
See Also:
e4s.html.E4HtmlContentElement#E4AjaxElement
Method Detail

updateOnReadyReqCore

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

SELECT_ChangeOnly

public void SELECT_ChangeOnly(SELECT select)

_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