|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.app.OwSettingsPropertyControl
com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl
com.wewebu.ow.server.settingsimpl.OwSettingsPropertyStringCombo
public class OwSettingsPropertyStringCombo
A single settings String property, with combo select box.
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
Field Summary | |
---|---|
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 |
Fields inherited from class com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl |
---|
ITEM_PREFIX, ITEM_QUERY_KEY, m_defaultValue, m_externalFormEventTarget, m_fList, m_propertyDefinitionNode, m_strError, m_strSetName, m_value |
Fields inherited from interface com.wewebu.ow.server.app.OwSettingsProperty |
---|
ITEM_VALUE_NODE |
Constructor Summary | |
---|---|
OwSettingsPropertyStringCombo()
|
Method Summary | |
---|---|
protected List |
createComboSelectList(Node valueNode_p)
create a list of values, if property is a list |
protected Object |
createSingleClonedValue(Object oSingleValue_p)
create a clone out of the given single property value |
protected Object |
getDefaultListItemValue()
overridable to create a default value for list properties |
protected Object |
getSingleValueFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strID_p)
overridable to apply changes on a submitted form |
protected void |
insertFormValue(Writer w_p,
Object value_p,
String strID_p,
int iIndex_p)
overridable to insert a single value into a edit HTML form |
Methods inherited from class com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl |
---|
appendSingleValueNode, canAdd, createValue, createValueList, extractIDIndex, getDisplayName, getFormName, getFormTarget, getHelpPath, getMaxListSize, getName, getPropertyDefinitionNode, getPropertyError, getSafePropertyError, getSingleValue, getValue, getValueNode, hasError, init, init, insertFormField, isEditable, isList, isModified, isUser, onAdd, onDelete, saved, setDefault, setExternalFormTarget, setValue, toString, updateExternalFormTarget, writeAddNewItemButton, writeDeleteButton |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String COMBO_SELECT_ITEM_NODE_NAME
protected static final String COMBO_SELECT_ITEM_DISPLAY_ATTR_NAME
Constructor Detail |
---|
public OwSettingsPropertyStringCombo()
Method Detail |
---|
protected Object createSingleClonedValue(Object oSingleValue_p)
createSingleClonedValue
in class OwSettingsPropertyBaseImpl
oSingleValue_p
- single Object value
protected List createComboSelectList(Node valueNode_p) throws Exception
valueNode_p
- Node with child value nodes
Exception
protected void insertFormValue(Writer w_p, Object value_p, String strID_p, int iIndex_p) throws Exception
insertFormValue
in class OwSettingsPropertyBaseImpl
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 list
Exception
protected Object getSingleValueFromRequest(javax.servlet.http.HttpServletRequest request_p, String strID_p)
getSingleValueFromRequest
in class OwSettingsPropertyBaseImpl
request_p
- HttpServletRequest with form data to update the propertystrID_p
- String the HTML form element ID of the requested valueprotected Object getDefaultListItemValue() throws Exception
getDefaultListItemValue
in class OwSettingsPropertyBaseImpl
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |