www.element4solution.com

e4s.html
Class A_FORM

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.A
                          extended by e4s.html.A_FORM
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
E4InputField.A_PICK

public class A_FORM
extends A

An Anchor TAG that can be placed within a FORM or E4Fieldset element, acting as normal A-Tag but can include input fields contained within the form.

See Also:
E4InputField.definePickupList(e4s.html.E4MethodPickup, e4s.html.input.extended.E4InputFieldName_Intf), E4MethodPickup, A_ReturnValue

Field Summary
 
Fields inherited from class e4s.html.A
HTML_TAG, WINDOW_PARAM_DIRECTORIES, WINDOW_PARAM_MENU, WINDOW_PARAM_RESIZE, WINDOW_PARAM_SCROLL, WINDOW_PARAM_STATUS, WINDOW_PARAM_TOOLBAR
 
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
A_FORM(E4EventHandlerA handle)
          Create an <A>-tag, using an event handler.
A_FORM(E4Label_Intf question, E4Method functionname)
          Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.
A_FORM(E4Method functionname)
          Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.
A_FORM(E4MethodPickup functionname)
          Builds a link to be used as E4Method_Picup.
A_FORM(java.lang.String question, E4Method functionname)
          Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 void includeField(E4InputFieldName_Intf fieldname)
           
 void toHtml(E4StringBufferHtml buf, E4ServletImplementation_Intf servlet)
          Create the HTML output for this element.
 
Methods inherited from class e4s.html.A
addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterObj, clone, eventHandlers, findEventHandler, getAlias, getE4Method, getMethod, getParameters, getParameters, getTarget, getWindowAttributes, openInNewWindow, openInNewWindow, openInNewWindow, openInNewWindow, openInNewWindow, removeAll, setEventHandler, setMethod, setSTYLE, setTarget, setTarget, setTitle, toHtml, toString, toUrl, toUrl, toUrl
 
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, collectScripts, collectStylesForEditing, collectStylesForEditing, collectStylesForEditing, collectTranslationsForEditing, collectTranslationsForEditing, createScript, createScript, debugToString, findElement, findElement, findElement, findElement, getElements, getElementsVec, getField, getId, getLastElement, getStringContent, getStyle, getSTYLE, getStyle, hasScripts, hasSTYLE, isContentClass, isE4InputField_Intf, openTag, removeElementById, removeElements, removeElements, removeStyle, setId, setReadOnly, setStyle, setStyle, setSTYLE, setValue, Style, Style, toHtml_hidden, validate
 
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
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, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, validate
 

Constructor Detail

A_FORM

public A_FORM(E4EventHandlerA handle)
Create an <A>-tag, using an event handler. This results into a <A OnClick="..." > tag, using E4JavaScript to execute some action defined in the handler due to a specified event in the handler (e.g. On-Click, On-Mouse-Over, ..).

Parameters:
handle - the event-handle

A_FORM

public A_FORM(E4Method functionname)
Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.

Parameters:
functionname - the function to be called
See Also:
E4HtmlContentElement.A(String, e4s.html.E4Method)

A_FORM

public A_FORM(java.lang.String question,
              E4Method functionname)
Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.

Parameters:
question - a question that will be poped up first, the execution continues only if the user selects the "Yes" button in this dialog. The message is displayed using a E4JavaScript function.
functionname - the function to be called
See Also:
E4HtmlContentElement.A(e4s.html.E4Method)

A_FORM

public A_FORM(E4Label_Intf question,
              E4Method functionname)
Create an <A>-tag, using the specified E4Method as link to a function that shall be executed when this link becomes activated by the user.

Parameters:
question - a question that will be poped up first, the execution continues only if the user selects the "Yes" button in this dialog. The message is displayed using a E4JavaScript function.
functionname - the function to be called
See Also:
E4HtmlContentElement.A(e4s.html.E4Method)

A_FORM

public A_FORM(E4MethodPickup functionname)
Builds a link to be used as E4Method_Picup. This mechanism can be used to open a window, select something out of a list and "return" a value. Of course, in the HTML/CGI environment nothing will be returned, instead a logical link based on ava-Script will be generated. This also results in a new window automatically.

Parameters:
functionname - the method[-placeholder] to be involved.
Method Detail

includeField

public void includeField(E4InputFieldName_Intf fieldname)

toHtml

public void toHtml(E4StringBufferHtml buf,
                   E4ServletImplementation_Intf servlet)
            throws java.lang.Exception
Description copied from class: A
Create the HTML output for this element. Also run throught all child elements, and call their E4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) function to generate output of those objects which becomes appended. Normally, there is no need to call this function anyway, and this also might result in side effects of too-early relasing of objects in some cases. This function is called by E4ServletImplementation_Intf.write(e4s.html.E4HtmlElement) on the top level HTML element (common this is a HTML or BODY element) and branches down to all child elements.

Specified by:
toHtml in interface E4HtmlElement_Intf
Overrides:
toHtml in class A
servlet - the servlet environment currently running in
Throws:
java.lang.Exception

_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