public class ERTagCloud extends ERXComponent
<wo:ERTagCloud entityName = "InventoryItem" tag = "$tag" tagClass = "$tagClass">
<wo:WOGenericContainer elementName = "span" class = "$tagClass"><wo:str value = "$tag"/></wo:WOGenericContainer>
</wo:ERTagCloud>
Name | Description |
---|---|
tag | the name of the current tag being rendered |
tagClass | the class name of the current tag |
entityName | the name of the entity to load tags for |
limit | the maximum number of tags to show |
minimum | the minimum tag count required for a tag to be shown |
categories | the tag category names to use (NSArray of Strings) |
categoryCount | the number of categories to split into (default 5) |
tagClassPrefix | the prefix to prepend to the tag cloud class name ("tagCloud" by default) |
cache | if false, the computation of the tag cloud is not cached (this is EXPENSIVE) |
additionalQualifier | an optional restricting qualifier |
shouldResetTagCloud | forces recalculation of the tag cloud when the binding evaluates to true. After recalculation, the binding will be set to false again. |
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERTagCloud(com.webobjects.appserver.WOContext context) |
Modifier and Type | Method and Description |
---|---|
com.webobjects.eocontrol.EOQualifier |
additionalQualifier() |
NSArray<String> |
categories() |
int |
categoryCount() |
String |
entityName() |
int |
limit() |
int |
minimum() |
protected void |
preAppendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override to hook into appendToResponse after security checks but before
the super.appendToResponse.
|
String |
repetitionTag() |
void |
setRepetitionTag(String repetitionTag) |
boolean |
synchronizesVariablesWithBindings() |
String |
tagClass() |
String |
tagClassPrefix() |
NSDictionary<String,String> |
tagCloud() |
NSArray<String> |
tagNames() |
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, appendToResponse, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browser, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, invokeAction, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, primaryCSSFile, primaryJavascriptFile, reset, shouldCheckAccess, stringValueForBinding, stringValueForBinding, takeValuesFromRequest, useDefaultComponentCSS, useDefaultComponentJavascript
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class com.webobjects.appserver.WOComponent
public String entityName()
public void setRepetitionTag(String repetitionTag)
public String repetitionTag()
public String tagClass()
public int minimum()
public int limit()
public int categoryCount()
public com.webobjects.eocontrol.EOQualifier additionalQualifier()
public String tagClassPrefix()
public NSDictionary<String,String> tagCloud()
protected void preAppendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
ERXComponent
preAppendToResponse
in class ERXComponent
response
- context
- Copyright © 2002 – 2020 Project Wonder.