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_value
m_externalFormEventTarget, m_propertyDefinitionNode, m_strSetName
ITEM_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, writeDeleteButton
getDisplayName, getFormName, getFormTarget, getHelpPath, getName, getPropertyDefinitionNode, init, isEditable, isUser, setExternalFormTarget
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest
protected 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
OwSettingsPropertyBaseImpl
insertFormField
in class OwSettingsPropertyBaseImpl
w_p
- WriterException
protected List createAvailablePropertiesList(Map attributesMap_p) throws Exception
protected List getSelectedPropertiesList() throws Exception
Exception
public void onShiftLeft(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public void onShiftRight(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public void onMoveUp(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public void onMoveDown(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public boolean updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p, boolean fSave_p) throws Exception
updateExternalFormTarget
in class OwSettingsPropertyBaseImpl
request_p
- HttpServletRequestfSave_p
- boolean true = save the changes of the form data, false = just update the form data, but do not saveException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.