www.element4solution.com

e4s.html
Class BODY

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.E4HtmlContentElementPersistant
                          extended by e4s.html.BODY
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
E4SubEditingBODY, HTML

public class BODY
extends E4HtmlContentElementPersistant
implements E4HtmlElement_Intf

Main <BODY>-Element of a webpage. The main content of the page can be created based on the BODY tag. Normally, you use html.BODY() to create the body tag, from whereas you can build on more html elements.

Example_Button.java

Since:
JDK 1.4
See Also:
HTML.BODY(), E4EventHandlerBODY, E4SubEditingBODY, A_Popup.prepare(e4s.html.BODY)

Field Summary
static STYLE_Name DEFAULTSTYLE
           
static java.lang.String 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
BODY()
           
BODY(E4ID parent_id)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 A_Name A_Name(char name)
          Construct an anchor tag for a name.
 A_Name A_Name(E4Long name)
          Construct an anchor tag for a name.
 A_Name A_Name(E4String name)
          Construct an anchor tag for a name.
 A_Name A_Name(long name)
          Construct an anchor tag for a name.
 A_Name A_Name(java.lang.String name)
          Construct an anchor tag for a name.
 void addKeepAliveScript(E4ServletImplementation_Intf servlet)
          Add a "keep alive" script to this frameset.
 E4BlockMenuElement BlockMenuElement(java.lang.String persistantObjId, E4ServletImplementation_Intf servlet)
           
 E4EventHandlerBODY createEventHandler(int event_id)
          Create an E4EventHandlerBODY object by a generic name and add it to the internal list.
 E4EventHandlerBODY createEventHandler(int event_id, java.lang.String name)
          Create an E4EventHandlerBODY object and add it to the internal list.
static void defineNoScript(E4NoScript noscript)
          Define a default E4NoScript element to be used in each BODY.
 E4DropdownMenu E4DropDownMenu()
           
 E4DropdownMenu E4DropDownMenu(java.lang.String div_id)
           
 java.lang.StringBuffer eventHandlers()
          Generate a string with the events in the form: onload="x();y();return false;" onunload="z();return false;"
 E4Fieldset FIELDSET()
           
 E4FieldsetTabbed FieldsetTabbed()
           
 E4FieldsetTable FieldsetTable()
           
 FORM FORM()
          Defines a <FORM> tag, uses "DEFAULT" as form name
 FORM FORM(E4Method mref)
          Defines a <FORM> tag.
 FORM FORM(java.lang.String name)
          Defines a <FORM> tag.
 FORM FORM(java.lang.String name, E4Method mref)
          Defines a <FORM> tag.
 void FullSizeE4Message(java.lang.String message, E4Color bgcolor, boolean closewindow)
          Draw a full size table (WIDTH=100% HEIGHT=100%) using the defined background color and print message vertically and horizontally centered.
 E4Color getBgColor()
          Get the background color.
 IMG getBgImage()
          Get the background image.
 E4HashEventHandler getEventHandlers()
          Get the event handlers.
 IFRAME IFRAME(E4Method mref)
          Defines a <IFRAME> tag.
 IFRAME IFRAME(E4Method mref, E4CgiParams params)
          Defines a <IFRAME> tag.
 IFRAME IFRAME(java.lang.String url)
          Defines a <IFRAME> tag.
 E4MenuElement MenuElement(E4Menu menu)
          Deprecated. - applobject is required for the permission handling
 E4MenuElement MenuElement(E4Menu menu, E4ApplObj_Intf applobj)
           
 E4MenuElement MenuElement(java.lang.String persistantObjId, E4ServletImplementation_Intf servlet)
           
 E4MethodInlineElement MethodInlineElement(E4Method mref)
           
 E4MethodInlineElement MethodInlineElement(E4Method mref, E4CgiParams params)
           
 void NOSCIPT()
          Includes a check in the header of the body tag using a entry.
 void onLoad_Print()
          Create an E4EventHandlerBODY of type E4EventHandlerBODY.ehPrint() by a generic name and add it to the internal list.
 E4EventHandlerBODY onLoad()
          Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
 void onLoad(E4Method mref, E4ServletImplementation_Intf servlet)
          Calls a method when the body becomes loaded.
 E4EventHandlerBODY onLoad(java.lang.String name)
          Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
 E4EventHandlerBODY onResize()
          Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
 E4EventHandlerBODY onUnLoad()
          Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONUNLOAD by a generic name and add it to the internal list.
 void onUnLoad(E4Method mref, E4ServletImplementation_Intf servlet)
          Calls a method when the body becomes unloaded.
 void redirectLocation(E4String http_url_reference, E4ServletImplementation_Intf servlet)
          Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address.
 void redirectLocation(java.lang.String http_url_reference, E4ServletImplementation_Intf servlet)
          Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address.
 void setBgcolor(E4Color bgcolor)
          Deprecated.  
 void setBgColor(E4Color bgcolor)
          Set the background color.
 void setBgImage(IMG bgimg)
          Set the background image.
static void setCodeBeforeClosing(java.lang.StringBuffer buf)
          Enables to integrate code before closing of the body-tag.
 void setEventHandler(E4EventHandlerBODY handler)
          Define an input handler for the BODY tag.
 void setStatusBar(java.lang.String statusbar)
          Set the browser's status bar text content.
 void setSTYLE(CLASS_Name class_name)
           
 E4SortedListElement SortedListElement(E4SortedList list)
           
 E4SortedListElement SortedListElement(java.lang.String persistantObjId, E4ServletImplementation_Intf servlet)
           
 void toHtml_without_BodyTag(E4StringBufferHtml buf, E4ServletImplementation_Intf servlet)
           
 void toHtml(E4StringBufferHtml buf, E4ServletImplementation_Intf servlet)
          Create the HTML output for this element.
 E4TreeElement TreeElement(E4Tree tree)
           
 E4TreeElement TreeElement(java.lang.String persistantObjId, E4ServletImplementation_Intf servlet)
           
 
Methods inherited from class e4s.html.E4HtmlContentElementPersistant
preventFromRemoving, preventFromRemoving, removeAll, toDebug
 
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, 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
 
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, validate
 

Field Detail

HTML_TAG

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

DEFAULTSTYLE

public static final STYLE_Name DEFAULTSTYLE
Constructor Detail

BODY

public BODY(E4ID parent_id)

BODY

public BODY()
Method Detail

setSTYLE

public void setSTYLE(CLASS_Name class_name)

FORM

public FORM FORM(java.lang.String name,
                 E4Method mref)
Defines a <FORM> tag.

Parameters:
name - the name of the form
mref - the method associated (FORM.setAction(e4s.html.E4Method))
Returns:
the new created and added FORM object.

FORM

public FORM FORM()
Defines a <FORM> tag, uses "DEFAULT" as form name

Returns:
the new created and added FORM object.

FORM

public FORM FORM(java.lang.String name)
Defines a <FORM> tag.

Parameters:
name - the name of the form
Returns:
the new created and added FORM object.

FORM

public FORM FORM(E4Method mref)
Defines a <FORM> tag.

Parameters:
mref - the method associated (FORM.setAction(e4s.html.E4Method))
Returns:
the new created and added FORM object.

IFRAME

public IFRAME IFRAME(java.lang.String url)
Defines a <IFRAME> tag.

Parameters:
url - the web page to be displayed
Returns:
the new created and added IFRAME object.
See Also:
IFRAME(E4Method,E4CgiParams), IFRAME(E4Method)

IFRAME

public IFRAME IFRAME(E4Method mref)
Defines a <IFRAME> tag.

Parameters:
mref - the method to be called
Returns:
the new created and added IFRAME object.
See Also:
IFRAME(E4Method,E4CgiParams), IFRAME(String)

IFRAME

public IFRAME IFRAME(E4Method mref,
                     E4CgiParams params)
Defines a <IFRAME> tag.

Parameters:
mref - the method to be called
params - additional parameters to the method call
Returns:
the new created and added IFRAME object.
See Also:
IFRAME(E4Method), IFRAME(String)

FieldsetTabbed

public E4FieldsetTabbed FieldsetTabbed()

FieldsetTable

public E4FieldsetTable FieldsetTable()

FIELDSET

public E4Fieldset FIELDSET()

TreeElement

public E4TreeElement TreeElement(E4Tree tree)

TreeElement

public E4TreeElement TreeElement(java.lang.String persistantObjId,
                                 E4ServletImplementation_Intf servlet)

BlockMenuElement

public E4BlockMenuElement BlockMenuElement(java.lang.String persistantObjId,
                                           E4ServletImplementation_Intf servlet)

MenuElement

public E4MenuElement MenuElement(java.lang.String persistantObjId,
                                 E4ServletImplementation_Intf servlet)

MenuElement

public E4MenuElement MenuElement(E4Menu menu,
                                 E4ApplObj_Intf applobj)

MenuElement

public E4MenuElement MenuElement(E4Menu menu)
Deprecated. - applobject is required for the permission handling


SortedListElement

public E4SortedListElement SortedListElement(E4SortedList list)

SortedListElement

public E4SortedListElement SortedListElement(java.lang.String persistantObjId,
                                             E4ServletImplementation_Intf servlet)

MethodInlineElement

public E4MethodInlineElement MethodInlineElement(E4Method mref)

MethodInlineElement

public E4MethodInlineElement MethodInlineElement(E4Method mref,
                                                 E4CgiParams params)

setBgcolor

public void setBgcolor(E4Color bgcolor)
Deprecated. 

See Also:
setBgColor(e4s.html.E4Color)

setBgColor

public void setBgColor(E4Color bgcolor)
Set the background color.

Parameters:
bgcolor - the color to be set (null indicates, that no color shall be set)
See Also:
getBgColor(), setBgImage(e4s.html.IMG)

getBgColor

public E4Color getBgColor()
Get the background color.

Returns:
the color to be set (null indicates, that no color will be set)
See Also:
setBgColor(e4s.html.E4Color)

setBgImage

public void setBgImage(IMG bgimg)
Set the background image.

Parameters:
bgimg - an image to be used as background image (null indicates, that no image shall be set)
See Also:
setBgColor(e4s.html.E4Color), getBgImage()

getBgImage

public IMG getBgImage()
Get the background image.

Returns:
an image to be used as background image (null indicates, that no image is set)
See Also:
setBgImage(e4s.html.IMG)

setEventHandler

public void setEventHandler(E4EventHandlerBODY handler)
Define an input handler for the BODY tag. A input handler e.g. can be an onLoad=.. E4JavaScript, that will be executed while the web page becomes displayed.

Parameters:
handler - the event handler to be set.
See Also:
createEventHandler(int)

createEventHandler

public E4EventHandlerBODY createEventHandler(int event_id)
Create an E4EventHandlerBODY object by a generic name and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Parameters:
event_id - an id for the event (such as onload), defined in class E4EventHandlerBODY.
Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, E4EventHandlerBODY._EVENT_ONRESIZE, createEventHandler(int,String), onLoad()

onLoad_Print

public void onLoad_Print()
Create an E4EventHandlerBODY of type E4EventHandlerBODY.ehPrint() by a generic name and add it to the internal list.

See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, createEventHandler(int,String)

onLoad

public E4EventHandlerBODY onLoad()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, createEventHandler(int,String), onUnLoad()

onLoad

public E4EventHandlerBODY onLoad(java.lang.String name)
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, createEventHandler(int,String), onUnLoad()

onResize

public E4EventHandlerBODY onResize()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, createEventHandler(int,String), onUnLoad()

onUnLoad

public E4EventHandlerBODY onUnLoad()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONUNLOAD by a generic name and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), E4EventHandlerBODY._EVENT_ONLOAD, createEventHandler(int,String)

onLoad

public void onLoad(E4Method mref,
                   E4ServletImplementation_Intf servlet)
Calls a method when the body becomes loaded. Create an E4EventHandlerFRAMESET of type E4EventHandlerFRAMESET._EVENT_ONUNLOAD by a generic name, add it to the internal list and call the specified method when the frameset becomes unloaded.

See Also:
onLoad(), onUnLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf)

onUnLoad

public void onUnLoad(E4Method mref,
                     E4ServletImplementation_Intf servlet)
Calls a method when the body becomes unloaded. Create an E4EventHandlerFRAMESET of type E4EventHandlerFRAMESET._EVENT_ONUNLOAD by a generic name, add it to the internal list and call the specified method when the frameset becomes unloaded.

See Also:
onUnLoad(), onLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf), FRAMESET.onUnLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf)

createEventHandler

public E4EventHandlerBODY createEventHandler(int event_id,
                                             java.lang.String name)
Create an E4EventHandlerBODY object and add it to the internal list. After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.

Parameters:
event_id - an id for the event (such as onload), defined in class E4EventHandlerBODY.
name - name of the E4JavaScript function that is "behind" the E4EventHandlerBODY.
Returns:
the new created event handler
See Also:
setEventHandler(e4s.html.E4EventHandlerBODY), createEventHandler(int), E4EventHandlerBODY._EVENT_ONUNLOAD, E4EventHandlerBODY._EVENT_ONLOAD, E4EventHandlerBODY._EVENT_ONRESIZE, onLoad(), onUnLoad()

toHtml_without_BodyTag

public void toHtml_without_BodyTag(E4StringBufferHtml buf,
                                   E4ServletImplementation_Intf servlet)
                            throws java.lang.Exception
Parameters:
servlet - is the servlet context which can be retrieved using the E4ModuleImplementation.getServlet().
Throws:
java.lang.Exception

toHtml

public void toHtml(E4StringBufferHtml buf,
                   E4ServletImplementation_Intf servlet)
            throws java.lang.Exception
Description copied from interface: E4HtmlElement_Intf
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 E4HtmlElementGeneral
Parameters:
servlet - is the servlet context which can be retrieved using the E4ModuleImplementation.getServlet().
Throws:
java.lang.Exception

NOSCIPT

public void NOSCIPT()
Includes a check in the header of the body tag using a entry. It is useful to include this function on the startup of your application if it uses E4JavaScript (which is expected). By default, this is turned off unless you make a call to this function for a particular body element. Do not enable this in email contents using HTML.

See Also:
defineNoScript(e4s.html.E4NoScript), E4NoScript

eventHandlers

public java.lang.StringBuffer eventHandlers()
Generate a string with the events in the form: onload="x();y();return false;" onunload="z();return false;"

See Also:
E4HashEventHandler.eventHandlers(), getEventHandlers()

getEventHandlers

public E4HashEventHandler getEventHandlers()
Get the event handlers.

Returns:
null if no event handlers are defined or the event handlers.

FullSizeE4Message

public void FullSizeE4Message(java.lang.String message,
                              E4Color bgcolor,
                              boolean closewindow)
Draw a full size table (WIDTH=100% HEIGHT=100%) using the defined background color and print message vertically and horizontally centered.

Parameters:
bgcolor - background color for the table
message - text to display

redirectLocation

public void redirectLocation(java.lang.String http_url_reference,
                             E4ServletImplementation_Intf servlet)
Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address. Redirection is handled via a OnLoad(..) script that changed the document.location to the value given, so every other output will be lost or in conflict.

Parameters:
http_url_reference - the new page to be displayed

redirectLocation

public void redirectLocation(E4String http_url_reference,
                             E4ServletImplementation_Intf servlet)
Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address. Redirection is handled via a OnLoad(..) script that changed the document.location to the value given, so every other output will be lost or in conflict.

Parameters:
http_url_reference - the new page to be displayed

setStatusBar

public void setStatusBar(java.lang.String statusbar)
Set the browser's status bar text content.

Parameters:
statusbar - text to be displayed

A_Name

public A_Name A_Name(java.lang.String name)
Construct an anchor tag for a name.

Parameters:
name - the name of the tag, resulting in: <A NAME="name">..</A>
Returns:
the new created and added element
See Also:
A_Reference, E4HtmlContentElement.A_Reference(String)

A_Name

public A_Name A_Name(E4String name)
Construct an anchor tag for a name.

Parameters:
name - the name of the tag, resulting in: <A NAME="name">..</A>
Returns:
the new created and added element
See Also:
A_Reference, E4HtmlContentElement.A_Reference(E4String)

A_Name

public A_Name A_Name(long name)
Construct an anchor tag for a name.

Parameters:
name - the name of the tag, resulting in: <A NAME="name">..</A>
Returns:
the new created and added element
See Also:
A_Reference, E4HtmlContentElement.A_Reference(long)

A_Name

public A_Name A_Name(E4Long name)
Construct an anchor tag for a name.

Parameters:
name - the name of the tag, resulting in: <A NAME="name">..</A>
Returns:
the new created and added element
See Also:
A_Reference, E4HtmlContentElement.A_Reference(e4s.util.E4Long)

A_Name

public A_Name A_Name(char name)
Construct an anchor tag for a name.

Parameters:
name - the name of the tag, resulting in: <A NAME="name">..</A>
Returns:
the new created and added element
See Also:
A_Reference, E4HtmlContentElement.A_Reference(char)

defineNoScript

public static void defineNoScript(E4NoScript noscript)
Define a default E4NoScript element to be used in each BODY.

Parameters:
noscript - a E4NoScript tag that is used on each BODY tag, a value or null turns off this mechanism.

addKeepAliveScript

public void addKeepAliveScript(E4ServletImplementation_Intf servlet)
Add a "keep alive" script to this frameset. The intention of this script is to call every 5 minutes a function on the server (which does nothing) by some E4Ajax like java scripting mechanism. This avoids a timeout while the user has the frameset still open. This function shall only be used on the main entry frameset of your application.

Parameters:
servlet - a valid servlet context
See Also:
E4ModuleFrameSpacer.keepAlive, E4ServletImplementation_Servlet.setMaxInactiveInterval(int), e4s.html.FRAMESET#addKeepAliveScript(servlet.E4ServletImplementation_Servlet)

setCodeBeforeClosing

public static void setCodeBeforeClosing(java.lang.StringBuffer buf)
Enables to integrate code before closing of the body-tag. This is recommended to be used for google analytics (https://www.google.com/analytics).

Parameters:
buf - if not null, this content will be included before using the body-close tag

E4DropDownMenu

public E4DropdownMenu E4DropDownMenu()

E4DropDownMenu

public E4DropdownMenu E4DropDownMenu(java.lang.String div_id)

_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