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. |
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERTagCloud(WOContext context) |
Modifier and Type | Method and Description |
---|---|
EOQualifier |
additionalQualifier() |
NSArray<String> |
categories() |
int |
categoryCount() |
String |
entityName() |
int |
limit() |
int |
minimum() |
protected void |
preAppendToResponse(WOResponse response,
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 ERTagCloud(WOContext context)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class 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 EOQualifier additionalQualifier()
public String tagClassPrefix()
public NSDictionary<String,String> tagCloud()
protected void preAppendToResponse(WOResponse response, WOContext context)
ERXComponent
preAppendToResponse
in class ERXComponent
response
- context
- Copyright © 2002 – 2024 Project Wonder.