public class OwSettingsPropertyDisplayCombo extends OwSettingsPropertyStringCombo
Settings Property Combobox for Windows Position.
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
COMBO_SELECT_ITEM_DISPLAY_ATTR_NAME, COMBO_SELECT_ITEM_NODE_NAME
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 |
---|
OwSettingsPropertyDisplayCombo() |
Modifier and Type | Method and Description |
---|---|
protected List |
createComboList()
create a list of values, if property is a list
|
protected List |
createComboSelectList(Node valueNode_p)
create a list of values, if property is a list
|
protected String |
displayValue(String mode_p)
Display value localized
|
protected void |
insertFormValue(Writer w_p,
Object value_p,
String strID_p,
int iIndex_p)
insert a single value into a edit HTML form
|
createSingleClonedValue, getDefaultListItemValue, getSingleValueFromRequest
appendSingleValueNode, canAdd, createValue, createValueList, extractIDIndex, getMaxListSize, getPropertyError, getSafePropertyError, getSingleValue, getValue, getValueNode, hasError, init, insertFormField, insertLabel, insertLabelValue, isList, isModified, onAdd, onDelete, saved, setDefault, setValue, toString, updateExternalFormTarget, 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 List createComboSelectList(Node valueNode_p) throws Exception
createComboSelectList
in class OwSettingsPropertyStringCombo
valueNode_p
- Node with child value nodesException
protected String displayValue(String mode_p)
mode_p
- modeprotected List createComboList() throws Exception
Exception
protected void insertFormValue(Writer w_p, Object value_p, String strID_p, int iIndex_p) throws Exception
insertFormValue
in class OwSettingsPropertyStringCombo
w_p
- Writer to write HTML code tovalue_p
- the property value to editstrID_p
- String the ID of the HTML element for use in onApplyiIndex_p
- int Index of item if it is a listException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.