public class OwDummyFieldManager
extends com.wewebu.ow.server.app.OwStandardFieldManager
Standard Implementation of the Property User Interface.
Displays Property as HTML and creates HTML Form Elements for editing properties,
also performs Validation.
NOTE: This class is instantiated once for a block of properties. Is only one static instance of this class in one application.
To be implemented with the specific DMS system.
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 | Class and Description |
---|---|
static class |
OwDummyFieldManager.PersonalNumberPrefixes
PersonalNumberPrefixes.
|
Modifier and Type | Field and Description |
---|---|
protected static OwDummyFieldManager.PersonalNumberPrefixes |
m_PersonalNumberPrefixes |
ARRAY_ITEM_INDEX_KEY, COMPLEX_ID_DELIMITER, FIELD_ID_KEY, m_DateFormat, m_DateWithoutTimeFormat, m_defMaxStringSize, m_FieldCtrlMap, m_MimeManager, m_NumberFormat, m_restoreFromRequestStrategy, m_textareaThreshold, m_TimeFormat, MAX_STRING_SIZE_CONFIG_NODE, THRESHOLD_CONFIG_NODE
Constructor and Description |
---|
OwDummyFieldManager() |
Modifier and Type | Method and Description |
---|---|
void |
insertReadOnlyFieldInternal(Writer w_p,
com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p,
Object value_p)
Formats and displays the value attached to the PropertyClass in HTML
|
Object |
updateFieldInternal(javax.servlet.http.HttpServletRequest request_p,
com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p,
Object value_p,
String strID_p)
update the property value upon request and validates the new value.
|
attachFieldControlByClass, attachFieldControlByType, attachFieldControlsFromConfiguration, convertValue, createComboBoxModel, detach, getDateFormater, getDateWithoutTimeFormater, getField, getFieldControl, getFieldControlByClass, getFieldControlByType, getMimeManager, getNumberFormater, getTimeFormater, getValueIndexTitle, init, insertChoiceListControl, insertEditableBoolean, insertEditableString, insertEditFieldInternal, insertLabel, insertSingleComplexEditFieldInternal, insertSingleComplexReadOnlyFieldInternal, insertSingleEditFieldInternal, insertSingleReadOnlyFieldInternal, onAddArrayItem, onDeleteArrayItem, parseDate, reset, updateComplexSingleFieldInternal, updateSingleFieldInternal, validateValue, writeAddMultiValueItemLink, writeRemoveMultiValueItemLink
clearFieldError, computeChangedFields, getConfigNode, getFieldJSErrorCtrlID, getFieldProvider, getFocusControlID, getFormName, getFormTarget, getSafeFieldError, getUpdateStatus, init, insertEditField, insertReadOnlyField, isFieldProviderName, isFieldProviderType, renderErrors, resetErrors, safeEqual, setExternalFormTarget, setFieldError, setFieldProvider, setFocusControlID, update, update, updateExternalFormTarget
protected static final OwDummyFieldManager.PersonalNumberPrefixes m_PersonalNumberPrefixes
public void insertReadOnlyFieldInternal(Writer w_p, com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p, Object value_p) throws Exception
insertReadOnlyFieldInternal
in class com.wewebu.ow.server.app.OwStandardFieldManager
w_p
- Writer object to write HTML tofieldDef_p
- OwFieldDefinition definition of fieldvalue_p
- Object Value to be displayedException
public Object updateFieldInternal(javax.servlet.http.HttpServletRequest request_p, com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p, Object value_p, String strID_p) throws Exception
updateFieldInternal
in class com.wewebu.ow.server.app.OwStandardFieldManager
request_p
- HttpServletRequest
fieldDef_p
- OwFieldDefinition definition of fieldvalue_p
- Object old ValuestrID_p
- ID of the HTML elementException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.