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>
| Bindings | |
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.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._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.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException_dynamicBindings_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERTagCloud(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
EOQualifier |
additionalQualifier() |
NSArray<java.lang.String> |
categories() |
int |
categoryCount() |
java.lang.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.
|
java.lang.String |
repetitionTag() |
void |
setRepetitionTag(java.lang.String repetitionTag) |
boolean |
synchronizesVariablesWithBindings() |
java.lang.String |
tagClass() |
java.lang.String |
tagClassPrefix() |
NSDictionary<java.lang.String,java.lang.String> |
tagCloud() |
NSArray<java.lang.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, variableWithNamepublic ERTagCloud(WOContext context)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class WOComponentpublic NSArray<java.lang.String> tagNames()
public java.lang.String entityName()
public void setRepetitionTag(java.lang.String repetitionTag)
public java.lang.String repetitionTag()
public java.lang.String tagClass()
public int minimum()
public int limit()
public int categoryCount()
public EOQualifier additionalQualifier()
public NSArray<java.lang.String> categories()
public java.lang.String tagClassPrefix()
public NSDictionary<java.lang.String,java.lang.String> tagCloud()
protected void preAppendToResponse(WOResponse response, WOContext context)
ERXComponentpreAppendToResponse in class ERXComponentresponse - context - Copyright © 2002 – 2022 Project Wonder.