|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
com.webobjects.appserver._private.WOInput
com.webobjects.appserver._private.WOInputList
com.webobjects.appserver._private.WOBrowser
er.extensions.foundation.ERXPatcher.DynamicElementsPatches.Browser
com.webobjects.appserver._private.ERXOptGroupBrowser
public class ERXOptGroupBrowser
Quick hack at extending WOBrowser to use HTML 4 optgroups. It adds two bindings: group and label. group is required. When this value changes, a new optgroup is created. label is optional. This is used as the label for an option group. If label is not bound, an empty string is used as the option group label.
| Bindings | |
group | Object, required - keyPath to value that changes when the group of options changes |
label | String, optional - String used as label for an option group |
itemClass, | optional - String CSS class name for this item, browser support is inconsistent |
itemStyle, | optional - String CSS style for this item, browser support is inconsistent |
| Field Summary | |
|---|---|
protected WOAssociation |
group
|
protected WOAssociation |
itemClass
|
protected WOAssociation |
itemStyle
|
protected WOAssociation |
label
|
| Fields inherited from class com.webobjects.appserver._private.WOBrowser |
|---|
_multiple, _size |
| Fields inherited from class com.webobjects.appserver._private.WOInputList |
|---|
_displayString, _index, _item, _list, _loggedSlow, _optionDisabled, _selectedValues, _selections |
| Fields inherited from class com.webobjects.appserver._private.WOInput |
|---|
_disabled, _escapeHTML, _hidden, _name, _value |
| Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
|---|
_associations, _class, _constantAttributeAssociations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization, _generatedId, _id, _prefix, _rendered, _secure, _style, _suffix, _title, DontEscapeHTML, EscapeHTML |
| Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
|---|
_children |
| Fields inherited from class com.webobjects.appserver.WODynamicElement |
|---|
_ConstructorParameters |
| Constructor Summary | |
|---|---|
ERXOptGroupBrowser(String arg0,
NSDictionary arg1,
WOElement arg2)
|
|
| Method Summary | |
|---|---|
void |
appendChildrenToResponse(WOResponse response,
WOContext context)
|
| Methods inherited from class er.extensions.foundation.ERXPatcher.DynamicElementsPatches.Browser |
|---|
_appendNameAttributeToResponse, appendToResponse, listClassInContext, setSelectionListInContext |
| Methods inherited from class com.webobjects.appserver._private.WOBrowser |
|---|
_appendValueAttributeToResponse, appendAttributesToResponse, hasContent, multipleInContext, sizeInContext, takeValuesFromRequest, toString |
| Methods inherited from class com.webobjects.appserver._private.WOInputList |
|---|
defaultEscapeHTML, displayStringInContext, listInContext, optionDisabledInContext, optionStringInContext, selectedListInContext, setIndexValueInContext, setItemValueInContext |
| Methods inherited from class com.webobjects.appserver._private.WOInput |
|---|
_appendDisabledAttributeToResponse, _appendTypeAttributeToResponse, escapeHTMLInContext, hiddenInContext, isDisabledInContext, isValueInInputValues, nameInContext, nameInContext, type, valueStringInContext |
| Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
|---|
__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 |
| Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
|---|
addChildElement, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected WOAssociation group
protected WOAssociation label
protected WOAssociation itemStyle
protected WOAssociation itemClass
| Constructor Detail |
|---|
public ERXOptGroupBrowser(String arg0,
NSDictionary arg1,
WOElement arg2)
| Method Detail |
|---|
public void appendChildrenToResponse(WOResponse response,
WOContext context)
appendChildrenToResponse in class com.webobjects.appserver._private.WOBrowser
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||