|
||||||||||
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.OwSettingsPropertyStringConfigurationBox
public class OwSettingsPropertyStringConfigurationBox
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
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 | |
---|---|
OwSettingsPropertyStringConfigurationBox()
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.wewebu.ow.server.settingsimpl.OwSettingsPropertyBaseImpl |
---|
appendSingleValueNode, canAdd, createSingleClonedValue, createValue, createValueList, extractIDIndex, getDefaultListItemValue, getDisplayName, getFormName, getFormTarget, getHelpPath, getMaxListSize, getName, getPropertyDefinitionNode, getPropertyError, getSafePropertyError, getSingleValue, getSingleValueFromRequest, getValue, getValueNode, hasError, init, init, insertFormValue, isEditable, isList, isModified, isUser, onAdd, onDelete, saved, setDefault, setExternalFormTarget, setValue, toString, 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 OwSettingsPropertyStringConfigurationBox()
Method Detail |
---|
public void insertFormField(Writer w_p) throws Exception
OwSettingsPropertyBaseImpl
insertFormField
in class OwSettingsPropertyBaseImpl
w_p
- Writer
Exception
protected List createAvailablePropertiesList(Map attributesMap_p) throws Exception
attributesMap_p
- a Map
Exception
protected List getSelectedPropertiesList() throws Exception
Exception
public void onShiftLeft(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
public void onShiftRight(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
public void onMoveUp(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
public void onMoveDown(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
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 save
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |