public class ERXStyledContainer extends com.webobjects.appserver._private.WOGenericContainer
style.background-color="red"
bindings. This is sometimes preferable to
putting all the styles in code.style
attribute is present, its value will be prepended. You can also
define a background-image and a style.background-image.type
(mime type of the image in case it is an NSData).
Some fixing will be done for you, like you can give a style.unit
which will be applied to all bindings
that evalutate to a number. If none is supplied, "px" is appended to make size definitions settable via plain numerical bindings.Name | Description |
---|---|
elementId | The type of element (div, p, span, etc.) to generate |
_elementId
_associations, _class, _constantAttributeAssociations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization, _generatedId, _id, _prefix, _rendered, _secure, _style, _suffix, _title, DontEscapeHTML, EscapeHTML
_children
_ConstructorParameters
Constructor and Description |
---|
ERXStyledContainer(String name,
NSDictionary associations,
WOElement template) |
Modifier and Type | Method and Description |
---|---|
void |
appendAttributesToResponse(WOResponse woresponse,
WOContext wocontext) |
appendToResponse, hasContent, invokeAction, takeValuesFromRequest
_elementNameInContext, toString
__otherQueryDictionaryInContext, __queryDictionaryInContext, _appendAttributesFromAssociationsToResponse, _appendClassAndIdToResponse, _appendCloseTagToResponse, _appendOpenTagToResponse, _appendTagAttributeAndValueToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendHiddenFieldToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, classInContext, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributeAssociations, constantAttributesRepresentation, elementName, escapeHTML, idInContext, isRenderedInContext, nonUrlAttributeAssociations, prefixInContext, secureInContext, stringValueInContext, styleInContext, suffixInContext, titleInContext, urlAttributeAssociations
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest
public ERXStyledContainer(String name, NSDictionary associations, WOElement template)
public void appendAttributesToResponse(WOResponse woresponse, WOContext wocontext)
appendAttributesToResponse
in class com.webobjects.appserver._private.WOGenericElement
Copyright © 2002 – 2024 Project Wonder.