Project Wonder 5.0.0.8654

er.directtoweb.components.repetitions
Class ERDListPageRepetition

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by er.extensions.components.ERXComponent
              extended by er.extensions.components.ERXNonSynchronizingComponent
                  extended by er.directtoweb.components.ERDCustomComponent
                      extended by er.directtoweb.components.repetitions.ERDAttributeRepetition
                          extended by 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
           

Nested Class Summary
 
Nested classes/interfaces inherited from class er.directtoweb.components.ERDCustomComponent
ERDCustomComponent.Keys
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected static NSDictionary NO_ACTIONS
           
 int rowIndex
           
 
Fields inherited from class er.directtoweb.components.repetitions.ERDAttributeRepetition
_currentSection, _sectionsContents
 
Fields inherited from class er.directtoweb.components.ERDCustomComponent
extraBindings, FALSE, TRUE
 
Fields inherited from class er.extensions.components.ERXComponent
_dynamicBindings
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERDListPageRepetition(WOContext context)
          Public constructor
 
Method Summary
 NSDictionary actions()
          Should return an array of arrays denoting actions
 NSArray centerActions()
           
 int currentSectionKeysColspan()
          Calculate the colspan for the divider (number of keys in current section + one before and one after the line)
 WODisplayGroup displayGroup()
           
 int displayPropertyKeyCount()
           
 boolean isListEmpty()
           
 NSArray itemSectionsContents()
           
 NSArray leftActions()
           
 NSArray rightActions()
           
 String rowClass()
           
 NSArray sectionsContents()
           
 
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.ERXNonSynchronizingComponent
isStateless
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ACTIONS

protected static final NSDictionary NO_ACTIONS

rowIndex

public int rowIndex
Constructor Detail

ERDListPageRepetition

public ERDListPageRepetition(WOContext context)
Public constructor

Parameters:
context - the context
Method Detail

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()

Last updated: Thu, Nov 20, 2008 • 04:36 AM EST

Copyright © 2002 – 2007 Project Wonder.