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 |
_associations, _class, _constantAttributeAssociations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization, _generatedId, _id, _prefix, _rendered, _secure, _style, _suffix, _title, DontEscapeHTML, EscapeHTML
Constructor and Description |
---|
ERXStyledContainer(String name,
NSDictionary associations,
com.webobjects.appserver.WOElement template) |
Modifier and Type | Method and Description |
---|---|
void |
appendAttributesToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.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
public ERXStyledContainer(String name, NSDictionary associations, com.webobjects.appserver.WOElement template)
Copyright © 2002 – 2020 Project Wonder.