public class CCTagEditor extends AjaxDynamicElement
| Name | Description |
|---|---|
value, | the string representing the list of tags |
deletion | optional, default is true, whether each tag should carry an icon for easy deletion |
delimiter | optional, default is space, the separator between tags |
render | optional, a method that's called whenever a tag should be rendered |
readTag | optional, a method that retrieves the tag from the DOM element |
parse | optional, a method that transforms user input into a tag |
validate | optional, a method that validates the parsed tag value |
convertOnFocus | optional, default is true, whether the tags are being converted when the focus event fires on elements other than the tag input |
ERXDynamicElement.ContextData<T>log_children_ConstructorParameters| Constructor and Description |
|---|
CCTagEditor(String name,
NSDictionary<String,WOAssociation> associations,
WOElement children) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequiredWebResources(WOResponse response,
WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(WOResponse response,
WOContext context)
Build span, input, and JavaScript into response.
|
String |
availableTags(WOContext context) |
protected NSMutableDictionary<String,String> |
createOptions(WOContext context)
Produce dictionary for options object
|
protected String |
formValueName(WOContext context) |
WOActionResults |
handleRequest(WORequest request,
WOContext context)
Handles server action.
|
String |
id(WOContext context)
Return the value of the id binding if it exists or a safe identifier
otherwise.
|
protected void |
setValueFromFormValue(WORequest request,
WOContext context)
Sets the value binding based on the form value.
|
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, invokeAction, shouldHandleRequestafterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBindingaddChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalueForBinding, valueForBindingpublic CCTagEditor(String name, NSDictionary<String,WOAssociation> associations, WOElement children)
protected void addRequiredWebResources(WOResponse response, WOContext context)
AjaxDynamicElementaddRequiredWebResources in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionpublic void appendToResponse(WOResponse response, WOContext context)
appendToResponse in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionAjaxDynamicElement.appendToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext)protected NSMutableDictionary<String,String> createOptions(WOContext context)
context - WOContext providing component to resolve bindings inpublic WOActionResults handleRequest(WORequest request, WOContext context)
handleRequest in interface IAjaxElementhandleRequest in class AjaxDynamicElementrequest - the current requestcontext - context of the transactionAjaxDynamicElement.handleRequest(com.webobjects.appserver.WORequest, com.webobjects.appserver.WOContext),
WODynamicGroup.takeValuesFromRequest(WORequest, WOContext)protected void setValueFromFormValue(WORequest request, WOContext context)
request - the WORequest to get the form values fromcontext - WOContext used to determine component used inWODynamicGroup.takeValuesFromRequest(WORequest, WOContext),
handleRequest(WORequest, WOContext)protected String formValueName(WOContext context)
context - WOContext used to determine component used inpublic String id(WOContext context)
ERXDynamicElementid in class ERXDynamicElementcontext - WOContext used to determine component used inCopyright © 2002 – 2025 Project Wonder.