er.extensions.components.javascript
Class ERXJavaScript
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
er.extensions.components.javascript.ERXJavaScript
public class ERXJavaScript
- extends com.webobjects.appserver._private.WOHTMLDynamicElement
Modern version of a javascript component.
- HTML 4 compliant ("script" and attributes lowercased)
- hideInComment is ON by default if there is content
- can contain script text
- can have the script render to an external DA url that is cached in the session
- you can specify which framework the script comes from.
Bindings |
scriptSource | SRC attribute, either a full URL or the filename of the script |
filename | (same as scriptSource, but matches ERXStyleSheet) |
scriptFile | the filename of the script when it should be
included in the page (only for compatibility, simply use the content) |
scriptFramework | name of the framework for the script |
framework | (same as scriptFramework, but matches ERXStyleSheet) |
scriptString | the script text when it should be
included in the page (only for compatibility, simply use the content) |
scriptKey | if set, the content will get rendered into an external script src |
hideInComment | boolean that specifies if the script content should
be included in HTML comments, true by default of the script tag contains a script |
Field Summary |
static org.apache.log4j.Logger |
log
logging support |
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization |
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
_children |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
ERXJavaScript(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement)
|
Method Summary |
void |
appendAttributesToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
|
void |
appendChildrenToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
|
void |
appendToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
|
java.lang.String |
toString()
|
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_appendAttributesFromAssociationsToResponse, _appendCloseTagToResponse, _appendOpenTagToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, urlAttributeAssociations |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- logging support
ERXJavaScript
public ERXJavaScript(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement)
appendAttributesToResponse
public void appendAttributesToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
- Overrides:
appendAttributesToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
appendChildrenToResponse
public void appendChildrenToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
- Overrides:
appendChildrenToResponse
in class com.webobjects.appserver._private.WODynamicGroup
appendToResponse
public void appendToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
- Overrides:
appendToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
toString
public java.lang.String toString()
- Overrides:
toString
in class com.webobjects.appserver._private.WOHTMLDynamicElement
Copyright © 2002 – 2007 Project Wonder.