<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
oracle.jdeveloper.html
Class ListFieldEditRenderer
java.lang.Object
|
+--oracle.jdeveloper.html.HTMLFieldRendererImpl
|
+--oracle.jdeveloper.html.StaticPickList
|
+--oracle.jdeveloper.html.ListFieldEditRenderer
- All Implemented Interfaces:
- HTMLFieldRenderer, HTMLRenderingContext, StaticPickListContext
- public class ListFieldEditRenderer
- extends StaticPickList
The ListFieldEditRenderer takes advantage of the BC4J attribute properties in order to render an attribute by mapping it's current value to a set of display values provided via the LF_DISPLAY_LIST property. The control type is provided by the LF_CONTROL_TYPE property which can be COMBOBOX, LISTBOX, RADIOGROUP or CHECKBOXGROUP. The syntax for this proper is <short Value=display value>,<short Value=display value>. If you need to map Y to YES and N to NO, the value of the property would be Y=YES,N=NO. If the renderer doesn't find this property in the attribute, it will default to rendering the raw value.
Fields inherited from class oracle.jdeveloper.html.StaticPickList |
aLabels, allvalues, aValues, bUseLineBreaks, iter, nType, sQuery, TYPE_CHECKBOX_GROUP, TYPE_COMBOBOX, TYPE_LISTBOX, TYPE_RADIO_GROUP, values |
Method Summary |
java.lang.String |
renderToString(Row row)
This method is called when the field renderers are being used from the Tag library and from the DataWebBeans. |
Methods inherited from class oracle.jdeveloper.html.StaticPickList |
createHTMLSelect, generateCheckBoxGroup, generateComboBox, generateListBox, generateRadioGroup, getControlType, getRenderedString, getUseLineBreaks, prepareForMultiValueListGeneration, setControlType, setControlType, setDataSource, setUseLineBreaks |
Methods inherited from class oracle.jdeveloper.html.HTMLFieldRendererImpl |
getAttributeDef, getCSSClassName, getDatasource, getDisplayHeight, getDisplayWidth, getFieldName, getFormName, getHiddenFieldForValue, getHTMLValue, getHTMLValue, getMaxDataLength, getPageContext, getPromptText, getValue, lookup, setAttributeDef, setCSSClassName, setDatasource, setDisplayHeight, setDisplayWidth, setFieldName, setFormName, setHtmlAttributes, setMaxDataLength, setPageContext, setPromptText, setValue, setValueFromRow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListFieldEditRenderer
public ListFieldEditRenderer()
renderToString
public java.lang.String renderToString(Row row)
- Description copied from interface:
HTMLFieldRenderer
- This method is called when the field renderers are being used from the Tag library and from the DataWebBeans.
-
- Specified by:
renderToString
in interface HTMLFieldRenderer
- Overrides:
renderToString
in class StaticPickList
Copyright © 1997, 2003, Oracle. All rights reserved.