|
||||||||||
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.OwFieldManagerControl
com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlImage
public class OwFieldManagerControlImage
Control to display a Image Property.
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 | |
---|---|
static String |
CONF_LINK
Configuration sub node which is optional, containing link part to broken image which is shown for not resolvable references. |
Constructor Summary | |
---|---|
OwFieldManagerControlImage()
|
Method Summary | |
---|---|
protected String |
getBrokenLink()
Get the link part to broken image location. |
void |
init(OwFieldManager fieldmanager_p,
Node configNode_p)
initialization of a field control to display fields |
void |
insertEditField(Writer w_p,
OwFieldDefinition fieldDef_p,
OwField field_p,
String strID_p)
Formats and displays the value attached to the fieldClass in HTML for use in a HTML Form. |
void |
insertReadOnlyField(Writer w_p,
OwFieldDefinition fieldDef_p,
Object value_p)
Formats and displays the value attached to the PropertyClass in HTML |
void |
onSetImage(javax.servlet.http.HttpServletRequest request_p)
called when user presses SetImage |
void |
renderImage(Writer w_p,
OwFieldDefinition fieldDef_p,
Object value_p)
displays a image |
Object |
updateField(javax.servlet.http.HttpServletRequest request_p,
OwFieldDefinition fieldDef_p,
Object value_p,
String strID_p)
update the property value upon request and validates the new value. |
Methods inherited from class com.wewebu.ow.server.app.OwFieldManagerControl |
---|
getFieldManager, getFormEventFunction, getFormEventURL, getFormTarget, init, insertLabel |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormName, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONF_LINK
Constructor Detail |
---|
public OwFieldManagerControlImage()
Method Detail |
---|
public void init(OwFieldManager fieldmanager_p, Node configNode_p) throws Exception
OwFieldManagerControl
init
in class OwFieldManagerControl
fieldmanager_p
- OwFieldManager reference to the fieldmanager containing the field controlconfigNode_p
- DOM Node to the configuration XML for the control, or null to use defaults
Exception
public void renderImage(Writer w_p, OwFieldDefinition fieldDef_p, Object value_p) throws Exception
w_p
- Writer object to write HTML tofieldDef_p
- OwFieldDefinition definition of fieldvalue_p
- Object Value to be displayed
Exception
public void insertReadOnlyField(Writer w_p, OwFieldDefinition fieldDef_p, Object value_p) throws Exception
insertReadOnlyField
in class OwFieldManagerControl
w_p
- Writer object to write HTML tofieldDef_p
- OwFieldDefinition definition of fieldvalue_p
- Object Value to be displayed
Exception
public void insertEditField(Writer w_p, OwFieldDefinition fieldDef_p, OwField field_p, String strID_p) throws Exception
insertEditField
in class OwFieldManagerControl
w_p
- Writer object to write HTML tofieldDef_p
- OwFieldDefinitionfield_p
- OwField Value to be displayedstrID_p
- ID of the HTML element
Exception
public void onSetImage(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
public Object updateField(javax.servlet.http.HttpServletRequest request_p, OwFieldDefinition fieldDef_p, Object value_p, String strID_p) throws Exception
updateField
in class OwFieldManagerControl
request_p
- HttpServletRequestfieldDef_p
- OwFieldDefinitionvalue_p
- Object old ValuestrID_p
- ID of the HTML element
Exception
protected String getBrokenLink()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |