er.directtoweb.components.repetitions
Class ERDListPageRepetition
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.directtoweb.components.ERDCustomComponent
er.directtoweb.components.repetitions.ERDAttributeRepetition
er.directtoweb.components.repetitions.ERDListPageRepetition
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERXExceptionHolder, Serializable, Cloneable
- Direct Known Subclasses:
- ERDGroupingListPageRepetition, ERDTableRepetition
public class ERDListPageRepetition
- extends ERDAttributeRepetition
Can be used as a repetition in list pages.
- See Also:
- Serialized Form
| Bindings |
sample | sample binding explanation |
| D2W Keys |
sample | sample d2w key |
| Methods inherited from class er.directtoweb.components.repetitions.ERDAttributeRepetition |
appendToResponse, awake, currentSection, currentSectionKeys, displayPropertyKeys, hasPropertyName, hasSections, propertyKey, sectionTitle, setCurrentSection, setPropertyKey, synchronizesVariablesWithBindings |
| Methods inherited from class er.directtoweb.components.ERDCustomComponent |
booleanForBinding, clearValidationFailed, d2wComponentNameDebuggingEnabled, d2wContext, d2wContextFromBindings, d2wContextValueForBinding, d2wDebuggingEnabled, d2wPropertyKeyDebuggingEnabled, extraBindings, extraBindingsValueForBinding, hasBinding, integerBooleanForBinding, key, localContext, logDebugInfo, originalValueForBinding, parentValueForBinding, reset, setD2wContext, setExtraBindings, setKey, setLocalContext, validationFailedWithException, valueForBinding |
| Methods inherited from class er.extensions.components.ERXComponent |
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, invokeAction, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, stringValueForBinding, stringValueForBinding, takeValuesFromRequest, useDefaultComponentCSS, useDefaultComponentJavascript |
| Methods inherited from class com.webobjects.appserver.WOComponent |
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding |
NO_ACTIONS
protected static final NSDictionary NO_ACTIONS
rowIndex
public int rowIndex
ERDListPageRepetition
public ERDListPageRepetition(WOContext context)
- Public constructor
- Parameters:
context - the context
currentSectionKeysColspan
public int currentSectionKeysColspan()
- Calculate the colspan for the divider (number of keys in current section + one before and one after the line)
actions
public NSDictionary actions()
- Should return an array of arrays denoting actions
sectionsContents
public NSArray sectionsContents()
- Overrides:
sectionsContents in class ERDAttributeRepetition
itemSectionsContents
public NSArray itemSectionsContents()
leftActions
public NSArray leftActions()
centerActions
public NSArray centerActions()
rightActions
public NSArray rightActions()
displayGroup
public WODisplayGroup displayGroup()
isListEmpty
public boolean isListEmpty()
rowClass
public String rowClass()
displayPropertyKeyCount
public int displayPropertyKeyCount()
Copyright © 2002 – 2007 Project Wonder.