public class OwSettingsPropertyStringConfigurationBox extends OwSettingsPropertyBaseImpl
A List of String properties, which can be configured via two combo boxes.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMBO_SELECT_ITEM_DISPLAY_ATTR_NAME
attribute name of a combo select item display name for list properties
|
protected static String |
COMBO_SELECT_ITEM_NODE_NAME
node name of a combo select item for list properties
|
ITEM_PREFIX, ITEM_QUERY_KEY, m_defaultValue, m_fList, m_strError, m_valuem_externalFormEventTarget, m_propertyDefinitionNode, m_strSetNameITEM_VALUE_NODE| Constructor and Description |
|---|
OwSettingsPropertyStringConfigurationBox() |
| Modifier and Type | Method and Description |
|---|---|
protected List |
createAvailablePropertiesList(Map attributesMap_p)
create a list of values, if property is a list
|
protected List |
getSelectedPropertiesList()
create a list of values, if property is a list
|
void |
insertFormField(Writer w_p)
insert the property into a HTML form for editing
|
void |
onMoveDown(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked Move Down Button
|
void |
onMoveUp(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked Move Up Button
|
void |
onShiftLeft(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked Shift Left Button
|
void |
onShiftRight(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked Shift Right Button
|
boolean |
updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
update the target after a form event, so it can set its form fields
|
appendSingleValueNode, canAdd, createSingleClonedValue, createValue, createValueList, extractIDIndex, getDefaultListItemValue, getMaxListSize, getPropertyError, getSafePropertyError, getSingleValue, getSingleValueFromRequest, getValue, getValueNode, hasError, init, insertFormValue, insertLabel, insertLabelValue, isList, isModified, onAdd, onDelete, saved, setDefault, setValue, toString, writeAddNewItemButton, writeDeleteButtongetDisplayName, getFormName, getFormTarget, getHelpPath, getName, getPropertyDefinitionNode, init, isEditable, isUser, setExternalFormTargetattach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequestprotected static final String COMBO_SELECT_ITEM_NODE_NAME
protected static final String COMBO_SELECT_ITEM_DISPLAY_ATTR_NAME
public OwSettingsPropertyStringConfigurationBox()
public void insertFormField(Writer w_p) throws Exception
OwSettingsPropertyBaseImplinsertFormField in class OwSettingsPropertyBaseImplw_p - WriterExceptionprotected List createAvailablePropertiesList(Map attributesMap_p) throws Exception
protected List getSelectedPropertiesList() throws Exception
Exceptionpublic void onShiftLeft(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic void onShiftRight(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic void onMoveUp(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic void onMoveDown(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - HttpServletRequestExceptionpublic boolean updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
throws Exception
updateExternalFormTarget in class OwSettingsPropertyBaseImplrequest_p - HttpServletRequestfSave_p - boolean true = save the changes of the form data, false = just update the form data, but do not saveExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.