Interface UIResponseContext
- All Superinterfaces:
UIBodyWriter
,UIComponentWriter
,UIContext
,UIDependencyRegisterer
,UIJavaScriptWriter
,UIResourceLocator
,UISessionContext
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComboBox
(Path aPath) Deprecated.Replaced byUIFormWriter.newComboBox(Path)
andUIFormWriter.addWidget(UIWidget)
void
addComboBox
(UIComboBox aWidget) Deprecated.please usenewComboBox(Path)
andaddWidget(UIWidget)
void
addEmptyFieldButton
(String buttonId, boolean isDisabled, String aJavaScriptCommand) Deprecated.void
addFormRow
(UIFormRow aFormRow) Deprecated.Replaced byUIFormWriter.addFormRow(UIFormRow)
void
addFormRow
(UIFormRow aFormRow, UIWidget aWidget) Deprecated.Replaced byUIFormWriter.addFormRow(UIFormRow, UIWidget)
void
addFormRow
(UIWidget aWidget) Deprecated.Replaced byUIFormWriter.addFormRow(UIWidget)
void
addFormRowBestMatchingComponent
(Path nodePath) Deprecated.Replaced byUIFormWriter.addFormRow(Path)
void
addFormRowBestMatchingComponent
(Path nodePath, boolean enableIcon) Deprecated.void
addFormRowBestMatchingDisplay
(Path nodePath) Deprecated.void
addFormRowBestMatchingDisplay
(Path nodePath, boolean enableIcon) void
addFormRowBestMatchingEditor
(Path nodePath) Deprecated.Replaced byUIFormWriter.addFormRow(Path)
void
addFormRowBestMatchingEditor
(Path nodePath, boolean enableIcon) Deprecated.addJS_getNodeValue
(Path aPath) Deprecated.Replaced byUIFormWriter.addJS_getNodeValue(Path)
addJS_setNodeValue
(String aVarName, Path aPath) Deprecated.Replaced byUIFormWriter.addJS_setNodeValue(String, Path)
void
addServiceButton
(Path aPath) Deprecated.Replaced byWidgetWriter.addServiceButton(Path)
void
Deprecated.please useaddWidget(Path)
void
addUIBestMatchingComponent
(Path aPath, String htmlAttributes) Deprecated.please useaddWidget(Path)
void
addUIBestMatchingDisplay
(Path aPath, UIRenderingMode renderingMode, String htmlAttributes) Deprecated.void
addUIBestMatchingDisplay
(Path aPath, String htmlAttributes) Deprecated.void
addUIBestMatchingEditor
(Path aPath, String htmlAttributes) Deprecated.please useaddWidget(Path)
void
addUICheckBox
(int index, Path aPath, String htmlAttributes) Deprecated.void
addUICheckBox
(Path aPath, String htmlAttributes) Deprecated.please usenewCheckBox(Path)
andaddWidget(UIWidget)
void
addUICheckBoxGroup
(Path aPath, String htmlAttributes) Deprecated.please usenewCheckBoxGroup(Path)
andaddWidget(UIWidget)
void
addUICheckBoxGroup
(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.void
addUICheckBoxGroup
(Path aPath, String htmlAttributes, String htmlSeparator) Deprecated.please usenewCheckBoxGroup(Path)
,UICheckBoxGroup.setColumnsNumber(int)
(instead of htmlSeparator) andaddWidget(UIWidget)
void
addUICheckBoxGroup
(Path aPath, String htmlAttributes, String htmlSeparator, Nomenclature aSpecificNomenclature) Deprecated.please usenewCheckBoxGroup(Path)
,UICheckBoxGroup.setColumnsNumber(int)
(instead of htmlSeparator),UIAtomicWithEnumeration.setSpecificNomenclature(Nomenclature)
andaddWidget(UIWidget)
void
addUIComplexEditor
(Path aPath, String htmlAttributes) Deprecated.please useaddWidget(Path)
void
addUIDescription
(Path aPath) Deprecated.Replaced byWidgetWriter.addUIDescription(Path)
void
addUIDisplayValue
(Path aPath) Deprecated.Replaced byWidgetWriter.addUIDisplayValue(Path)
void
addUIDropDownBox
(Path aPath, String htmlAttributes) Deprecated.please usenewDropDownList(Path)
andaddWidget(UIWidget)
void
addUIDropDownBox
(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.void
addUIDropDownBoxMultiple
(Path aPath, String htmlAttributes) Deprecated.please usenewListBox(Path)
andaddWidget(UIWidget)
void
addUILabel
(Path aPath) Deprecated.Replaced byWidgetWriter.addUILabel(Path)
void
addUIListSearch
(Path aPath, String htmlAttributes) Deprecated.please usenewComboBox(Path)
andaddWidget(UIWidget)
void
addUIListSearch
(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.void
addUIOccurrenceEditor
(Path aPath, String htmlAttributes) Deprecated.The default occurrence editor can only work with the default multi-occurrence editor.void
addUIPasswordInputField
(Path aPath, String htmlAttributes) Deprecated.please usenewPassword(Path)
andaddWidget(UIWidget)
void
addUIRadioButton
(Path aPath, String htmlAttributes, boolean setCode, boolean setLabel, int index) void
addUIRadioButtonGroup
(Path aPath, String htmlAttributes) Deprecated.please usenewRadioButtonGroup(Path)
andaddWidget(UIWidget)
void
addUIRadioButtonGroup
(Path aPath, String htmlAttributes, String htmlSeparator) Deprecated.please usenewRadioButtonGroup(Path)
,UIRadioButtonGroup.setColumnsNumber(int)
(instead of htmlSeparator) andaddWidget(UIWidget)
void
addUITextAreaField
(Path aPath, String htmlAttributes) Deprecated.void
addUITextHiddenInputField
(Path aPath, String htmlAttributes) Deprecated.please usenewTextBox(Path)
andaddWidget(UIWidget)
with a <div style="display:none;">...</div> surrounding you widget.
Example:void
addUITextInputField
(Path aPath, String htmlAttributes) Deprecated.please usenewTextBox(Path)
andaddWidget(UIWidget)
void
addUIValidationMessage
(Path aPath) Deprecated.Replaced byWidgetWriter.addUIValidationMessage(Path)
void
Deprecated.Replaced byUIFormWriter.addWidget(Path)
void
Deprecated.Replaced byUIFormWriter.addWidget(UIWidget)
void
Deprecated.Pre-instantiates a value for the current node.void
enableEscapedHtml
(boolean enabled) Deprecated.SeeUIBeanEditorV4
.int
Deprecated.TabIndexes
are no longer used in forms, the default order (notabIndex
) is preferable.getPrefixedPath
(Path aPath) Deprecated.Replaced byUIFormWriter.getPrefixedPath(Path)
Deprecated.Returns the current rendering mode.Deprecated.Replaced byWidgetWriter.getTableCellStyleHandler()
Deprecated.Replaced byWidgetDisplayContext.getValueContext()
getValueContext
(Path aPath) Deprecated.Replaced byWidgetDisplayContext.getValueContext(Path)
boolean
Deprecated.SeeUIBeanEditorV4
.jsBufferAddJavaScriptExpression
(String aJavaScriptExpression) Deprecated.This method is inactive except if extendingUIBeanEditorV4
.jsBufferAddString
(String aString) Deprecated.UseUIJavaScriptWriter.addJS(String)
orUIBodyWriter.add(String)
instead.Deprecated.This method is not used unless extendingUIBeanEditorV4
.Deprecated.This method is not used unless extendingUIBeanEditorV4
.Deprecated.This method is not used unless extendingUIBeanEditorV4
.jsBufferReenable
(boolean isJsBufferWritingModeTemporaryDisabled) Deprecated.This method is inactive except if extendingUIBeanEditorV4
.boolean
Deprecated.This method is inactive except if extendingUIBeanEditorV4
.newBestMatching
(Path aPath) Deprecated.Replaced byUIFormWriter.newBestMatching(Path)
newCheckBox
(Path aPath) Deprecated.Replaced byUIFormWriter.newCheckBox(Path)
newCheckBoxGroup
(Path aPath) Deprecated.Replaced byUIFormWriter.newCheckBoxGroup(Path)
newColorPicker
(Path aPath) Deprecated.Replaced byUIFormWriter.newColorPicker(Path)
newComboBox
(Path aPath) Deprecated.Replaced byUIFormWriter.newComboBox(Path)
newDateTime
(Path aPath) Deprecated.Replaced byUIFormWriter.newDateTime(Path)
newDropDownList
(Path aPath) Deprecated.Replaced byUIFormWriter.newDropDownList(Path)
newFormGroup
(Path aPath) Deprecated.Replaced byUIFormWriter.newFormGroup(Path)
newFormRow
(Path aPath) Deprecated.Replaced byUIFormWriter.newFormRow(Path)
newListBox
(Path aPath) Deprecated.Replaced byUIFormWriter.newListBox(Path)
newPassword
(Path aPath) Deprecated.Replaced byUIFormWriter.newPassword(Path)
newRadioButton
(Path aPath) Deprecated.Replaced byUIFormWriter.newRadioButton(Path)
newRadioButtonGroup
(Path aPath) Deprecated.Replaced byUIFormWriter.newRadioButtonGroup(Path)
Deprecated.Replaced byUIFormWriter.newTable(Path)
newTextBox
(Path aPath) Deprecated.Replaced byUIFormWriter.newTextBox(Path)
newTextBox
(Path aPath, String textBoxId) Deprecated.Replaced byUIFormWriter.newTextBox(Path)
void
setCellContentWithButtonOnRight
(String aString, UIButtonSpec aButton) Deprecated.This method can be used to include content in a table cell with a button to the right.void
startFormGroup
(Path aPath) Deprecated.Replaced byUIFormWriter.startFormGroup(Path)
void
startFormRow
(Path pathForLabel) Deprecated.Replaced byUIFormWriter.startFormRow(Path)
void
startFormRow
(Path pathForLabel, boolean enableIcon) Deprecated.Methods inherited from interface com.orchestranetworks.ui.UIBodyWriter
add, add, add, add_cr, add_cr, addSafeAttribute, addSafeAttribute, addSafeInnerHTML, addSafeInnerHTML
Methods inherited from interface com.orchestranetworks.ui.UIComponentWriter
addButtonHelp, addButtonJavaScript, addButtonJavaScriptToggle, addUILabel, addUserAvatar, buildButtonPreview, buildButtonPreview, buildButtonPreview, endBorder, endExpandCollapseBlock, endFormGroup, endFormRow, endTableFormRow, newExpandCollapseBlock, newFormGroup, newFormRow, startBorder, startBorder, startBorder, startExpandCollapseBlock, startExpandCollapseBlock, startFormGroup, startFormGroup, startFormRow, startFormRow, startFormRow, startFormRow, startTableFormRow
Methods inherited from interface com.orchestranetworks.ui.UIContext
displayOccurrence, getHierarchyMember, getHierarchyNode, getLocale, getNode, getNode, getPathForListOccurrence, getPathForListOccurrence, getPathInAdaptation, getSession, getValue, getValue, getWebName, getWebNameFor, getWebNameForPath, getWebNameOfParent, isCreatingRecord, isDuplicatingRecord
Methods inherited from interface com.orchestranetworks.ui.UIDependencyRegisterer
addJavaScriptDependency
Methods inherited from interface com.orchestranetworks.ui.UIJavaScriptWriter
addJS, addJS_addResizeWorkspaceListener, addJS_cr, addJS_cr, addJS_openPreviewImage, addJS_openPreviewImageFromVar, addJS_setButtonDisabled, addJS_setExpandCollapseBlockExpanded, addJS_setStateToToggleButton, addJS_switchToPerspective, addJS_switchToPerspectiveAction
Methods inherited from interface com.orchestranetworks.ui.UIResourceLocator
createWebComponentForRootSession, createWebComponentForSubSession, getURLForAjaxComponent, getURLForAjaxComponent, getURLForPerspectiveSelection, getURLForPerspectiveSelection, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForRest, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForViewSelection
Methods inherited from interface com.orchestranetworks.ui.UISessionContext
getLocale, getSession
-
Method Details
-
getRenderingMode
UIRenderingMode getRenderingMode()Deprecated.Returns the current rendering mode. -
getValueContext
Deprecated.Replaced byWidgetDisplayContext.getValueContext()
Returns the validation context of the current node. -
getValueContext
Deprecated.Replaced byWidgetDisplayContext.getValueContext(Path)
Returns the validation context of the specified node. -
addEmptyFieldButton
@Deprecated void addEmptyFieldButton(String buttonId, boolean isDisabled, String aJavaScriptCommand) Deprecated.Adds a button with the built-in "empty field" button look and feel.A click on this button will execute the given JavaScript command.
-
addServiceButton
Deprecated.Replaced byWidgetWriter.addServiceButton(Path)
Adds a service menu button to the specified node.If no services are defined for the node, or if no services are granted to the user according to access rights, no button will be added.
The standard position of the service button is to the right of the component; the standard position of the validation message is below the component.
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.- Since:
- 5.4.2
- See Also:
-
addUIBestMatchingComponent
Deprecated.please useaddWidget(Path)
Adds the user interface component corresponding to the specified field or group. "Best matching" means that the component will be adapted to the data type and facets of the node.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
This method callsdefaultView
property (since its application is restricted to the default view, which is not the case here).addUIBestMatchingDisplay(Path, String)
oraddUIBestMatchingEditor(Path, String)
according to the rendering mode.A common example:
UIResponseContext.addUIBestMatchingComponent(
Path.SELF
, "")- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- Since:
- 5.2.0
- See Also:
-
addUIBestMatchingDisplay
Deprecated.Adds the user interface component corresponding to the specified field or group, in 'read-only' mode. "Best matching", means that the component will be adapted to the data type and facets of the node.A common example:
UIResponseContext.addUIBestMatchingDisplay(
Path.SELF
, "")If the field is hidden according to the permission rules, then this method does nothing. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component.- Since:
- 5.2.0
- See Also:
-
addUIBestMatchingDisplay
@Deprecated void addUIBestMatchingDisplay(Path aPath, UIRenderingMode renderingMode, String htmlAttributes) Deprecated.Adds the user interface component corresponding to the specified field or group, in 'read-only' mode. "Best matching" means that the component will be adapted to the data type and facets of the node.If the field is hidden according to the permission rules, then this method does nothing. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component.- See Also:
-
addUIBestMatchingEditor
Deprecated.please useaddWidget(Path)
Adds the user interface component corresponding to the specified field or group, in 'read-write' mode. "Best matching" means that the component will be adapted to the data type and the facets of the node.A common example:
UIResponseContext.addUIBestMatchingEditor(
Path.SELF
, "")If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).Note: The use of the argument
htmlAttributes
has limited backward compatibility, and therefore requires extensive testing on any browser that could be used by the end user. Specifically, if the underlying type SchemaNode.getFacetEnumeration() depends on an enumeration, the new combo box will not be used ifhtmlAttributes
is notnull
or empty; instead the olderUIListSearch
will be used for backward compatibility.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, it is advised to use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component (see note).- See Also:
-
addUIDisplayValue
Deprecated.Replaced byWidgetWriter.addUIDisplayValue(Path)
Displays the value of the specified field.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.
-
addUICheckBox
Deprecated.please usenewCheckBox(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUICheckBox
Deprecated.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUICheckBoxGroup
Deprecated.please usenewCheckBoxGroup(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUICheckBoxGroup
Deprecated.please usenewCheckBoxGroup(Path)
,UICheckBoxGroup.setColumnsNumber(int)
(instead of htmlSeparator) andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display on one line:
, or in a column:<br>
)- See Also:
-
addUICheckBoxGroup
@Deprecated void addUICheckBoxGroup(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componentaSpecificNomenclature
- specifies the value-label pairs to use specifically for this component.- See Also:
-
addUICheckBoxGroup
@Deprecated void addUICheckBoxGroup(Path aPath, String htmlAttributes, String htmlSeparator, Nomenclature aSpecificNomenclature) Deprecated.please usenewCheckBoxGroup(Path)
,UICheckBoxGroup.setColumnsNumber(int)
(instead of htmlSeparator),UIAtomicWithEnumeration.setSpecificNomenclature(Nomenclature)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display in one line:
, or in column:<br>
)aSpecificNomenclature
- specifies the "value-label" pairs to use specifically for this component.- See Also:
-
addComboBox
Deprecated.Replaced byUIFormWriter.newComboBox(Path)
andUIFormWriter.addWidget(UIWidget)
Adds the combo box component for user search and selection in a list.For simple HTML drop-down lists, this widget facilitates selection in the list, especially for large enumerations. Another benefit is its low data transfer cost between the end-user browser and the application server.
If called for a node under an aggregated list, the given path must be indexed and relative. To get such a path, use the method
UIContext.getPathForListOccurrence(int, boolean)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.- Since:
- 5.3.1
- See Also:
-
addWidget
Deprecated.Replaced byUIFormWriter.addWidget(Path)
Adds the default widget, adapted to the data type and the facets of the specified node.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).This method is equivalent to:
aResponseContext.addWidget(aResponseContext.newBestMatching(aPath));
- Parameters:
aPath
- location of the node, relative to the current node.- Throws:
UnsupportedOperationException
- if the specified path refers to a node that is neither terminal nor under-terminal.PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.- Since:
- 5.7.0
- See Also:
-
addWidget
Deprecated.Replaced byUIFormWriter.addWidget(UIWidget)
Adds the specified widget.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).- Parameters:
aWidget
- the widget to be added to this UIBean.- Throws:
UnsupportedOperationException
- if the specified widget refers to a node that is neither terminal nor under-terminal.PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.- Since:
- 5.5.0
- See Also:
-
newComboBox
Deprecated.Replaced byUIFormWriter.newComboBox(Path)
Returns a new combo box.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.- Since:
- 5.3.1
- See Also:
-
newColorPicker
Deprecated.Replaced byUIFormWriter.newColorPicker(Path)
Returns a new color picker.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.- Since:
- 5.7.1
- See Also:
-
newBestMatching
Deprecated.Replaced byUIFormWriter.newBestMatching(Path)
Returns a new widget that will be automatically selected according to the corresponding node definition in the data model.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node that is either terminal or under-terminal.- Since:
- 5.5.0
- See Also:
-
newTextBox
Deprecated.Replaced byUIFormWriter.newTextBox(Path)
Returns a text input field, which can be one-line or multi-line.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type.- Since:
- 5.5.0
- See Also:
-
newTextBox
Deprecated.Replaced byUIFormWriter.newTextBox(Path)
Returns a text input field with specified id, which can be one-line or multi-line.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type.textBoxId
- id of the text box HTML element- Since:
- 5.5.0
- See Also:
-
newTable
Deprecated.Replaced byUIFormWriter.newTable(Path)
Returns a table widget- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node that is a association.- See Also:
-
newDateTime
Deprecated.Replaced byUIFormWriter.newDateTime(Path)
Returns a date/time field.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type.- Since:
- 5.5.0
- See Also:
-
newCheckBox
Deprecated.Replaced byUIFormWriter.newCheckBox(Path)
Returns a new check box widget.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a boolean or an aggregated list of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
newCheckBoxGroup
Deprecated.Replaced byUIFormWriter.newCheckBoxGroup(Path)
Returns a new check box group widget.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to an aggregated list of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
newDropDownList
Deprecated.Replaced byUIFormWriter.newDropDownList(Path)
Returns a new drop-down list.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
newListBox
Deprecated.Replaced byUIFormWriter.newListBox(Path)
Returns a new list box.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
newPassword
Deprecated.Replaced byUIFormWriter.newPassword(Path)
Returns a password field.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a simple type node.- Since:
- 5.7.0
- See Also:
-
newRadioButton
Deprecated.Replaced byUIFormWriter.newRadioButton(Path)
Returns a new radio button widget.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
newRadioButtonGroup
Deprecated.Replaced byUIFormWriter.newRadioButtonGroup(Path)
Returns a new radio button group widget.- Parameters:
aPath
- location of the target node, relative to the current node; it must refer to a node of a simple type and depending on an enumeration.- Since:
- 5.5.0
- See Also:
-
addComboBox
Deprecated.please usenewComboBox(Path)
andaddWidget(UIWidget)
Adds the specified combo box component for user search and selection in a list.Regarding the simple HTML drop-down list, this widget facilitates the selection in the list, especially for large enumerations. Another benefit is its low cost for data transfer between the end-user browser and the application server.
- Parameters:
aWidget
- the combo box to be added.- Since:
- 5.3.1
- See Also:
-
addUIDropDownBox
Deprecated.please usenewDropDownList(Path)
andaddWidget(UIWidget)
Adds a simple HTML drop-down for the user to select from a list.It is generally recommended to use the more advanced combo box.
The list displayed in the drop-down comes from the enumeration defined by the target node (see
SchemaNode.getEnumerationList(ValueContext)
).- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIDropDownBox
@Deprecated void addUIDropDownBox(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.Adds a simple HTML drop-down for user selection in a list.It is generally recommended to use the more advanced combo box.
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componentaSpecificNomenclature
- specifies the value-label pairs to use specifically for this component.- See Also:
-
addUIListSearch
Deprecated.please usenewComboBox(Path)
andaddWidget(UIWidget)
Adds a user input component for search and selection in a list.The list used for search and selection comes from the enumeration defined by the target node (see
SchemaNode.getEnumerationList(ValueContext)
).- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIListSearch
@Deprecated void addUIListSearch(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature) Deprecated.Adds a user input component for search and selection in a list.For
drop-down components
, this component facilitates the selection for large enumerations. Another benefit is its low data transfer cost between the end-user browser and the application server.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componentaSpecificNomenclature
- specifies the "value-label" pairs to use specifically for this component.- See Also:
-
addUIDropDownBoxMultiple
Deprecated.please usenewListBox(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUILabel
Deprecated.Replaced byWidgetWriter.addUILabel(Path)
Adds the standard label of the specified data model node.The description and additional information about the node are available in a pop-up.
- Parameters:
aPath
- required, location of the target, relative to the current node (for better reusability, it is advised to use a relative path)- See Also:
-
addUIDescription
Deprecated.Replaced byWidgetWriter.addUIDescription(Path)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.
-
addUIValidationMessage
Deprecated.Replaced byWidgetWriter.addUIValidationMessage(Path)
Adds the validation message associated with the specified node.The standard position of the validation message is below the component, and the standard position of the service button is to the right of the component.
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.- See Also:
-
addUIOccurrenceEditor
Deprecated.The default occurrence editor can only work with the default multi-occurrence editor. In theUIBeanEditor.addList(UIResponseContext)
method, each occurrence can be added with the best matching display/editor with the indexed path obtained withUIContext.getPathForListOccurrence(int)
.The specified path must refer to an indexed element in its last position. For example:.[0]
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component
-
addUIComplexEditor
Deprecated.please useaddWidget(Path)
The specified path must not refer to an indexed element in its last position.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIBean
Deprecated.please useaddWidget(Path)
The specified path must not refer to an indexed element in its last position.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIRadioButton
@Deprecated void addUIRadioButton(Path aPath, String htmlAttributes, boolean setCode, boolean setLabel, int index) Deprecated.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componentsetCode
- this parameter is ignored for version 5.4.1 and higher- See Also:
-
addUIRadioButtonGroup
Deprecated.please usenewRadioButtonGroup(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIRadioButtonGroup
Deprecated.please usenewRadioButtonGroup(Path)
,UIRadioButtonGroup.setColumnsNumber(int)
(instead of htmlSeparator) andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display in one line:
, or in column:<br>
)- See Also:
-
addUITextAreaField
Deprecated.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUITextInputField
Deprecated.please usenewTextBox(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUIPasswordInputField
Deprecated.please usenewPassword(Path)
andaddWidget(UIWidget)
- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addUITextHiddenInputField
Deprecated.please usenewTextBox(Path)
andaddWidget(UIWidget)
with a <div style="display:none;">...</div> surrounding you widget.
Example:aResponse.add("<div style=\"display:none;\">"); UITextBox textBox = aResponse.newTextBox(aPath); aResponse.addWidget(textBox); aResponse.add("</div>");
addJS_getNodeValue(Path)
andaddJS_setNodeValue(String, Path)
still work.- Parameters:
aPath
- required, location of the target, relative to the current node; to improve reusability, use a relative path.htmlAttributes
- optional, the string is added to the attributes of the main HTML component- See Also:
-
addFormRowBestMatchingComponent
Deprecated.Replaced byUIFormWriter.addFormRow(Path)
Adds a form row (without icon) containing the best matching component.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here)..This method calls
addFormRowBestMatchingDisplay(Path)
oraddFormRowBestMatchingEditor(Path)
, depending on the rendering mode and permission rules.It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.- Since:
- 5.2.0
- See Also:
-
addFormRow
Deprecated.Replaced byUIFormWriter.addFormRow(UIWidget)
Adds a form row in the UIBean with the specified widget.A form row is composed of an icon, a label and the user interface widget corresponding to the specified field or group, either in read-only or read-write mode.
If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here)..It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
aWidget
- the widget to be added to this UIBean.- Throws:
UnsupportedOperationException
- if the specified widget refers to a node that is neither terminal nor under-terminal.PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.- Since:
- 5.5.0
-
addFormRowBestMatchingComponent
Deprecated.Adds a form row with the best matching component.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).This method calls
addFormRowBestMatchingDisplay(Path)
oraddFormRowBestMatchingEditor(Path)
, depending on the rendering mode and permission rules.It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.enableIcon
-true
, includes an icon,false
, no icon.- Since:
- 5.2.3
- See Also:
-
addFormRowBestMatchingEditor
Deprecated.Replaced byUIFormWriter.addFormRow(Path)
Adds a form row (no icon) with the best matching editor.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.- Since:
- 5.2.0
- See Also:
-
addFormRowBestMatchingEditor
Deprecated.Adds a form row with the best matching editor.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.enableIcon
-true
, include an icon,false
, no icon.- Since:
- 5.2.3
- See Also:
-
addFormRowBestMatchingDisplay
Deprecated.Adds a form row (without icon) with the best matching display.If the field is hidden according to the permission rules, then this method does nothing. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.- Since:
- 5.2.0
- See Also:
-
addFormRowBestMatchingDisplay
Deprecated.Adds a form row with the best matching display.If the field is hidden according to the permission rules, then this method does nothing. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here).It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
nodePath
- the path of the node to display.enableIcon
-true
, include an icon,false
, no icon.- Since:
- 5.2.3
- See Also:
-
newFormRow
Deprecated.Replaced byUIFormWriter.newFormRow(Path)
Builds the default model-driven form row based on the specified node. Here, "default model-driven" means that the icon, label and documentation pane are computed from the data model definition.- Parameters:
aPath
- location of the target node, relative to the current node.- See Also:
-
addFormRow
Deprecated.Replaced byUIFormWriter.addFormRow(UIFormRow)
Adds a complete form row in the UIBean. The specified form row must be built withnewFormRow(Path)
, the user input zone will be adapted to the data type and the facets of the underlying node.If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here)..It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
aFormRow
- the form row, this object shall be built by means of the methodnewFormRow(Path)
.- Throws:
IllegalArgumentException
- if the specified form row has not been built withnewFormRow(Path)
.UnsupportedOperationException
- if the specified row's path refers to a node that is neither terminal nor under-terminal.PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.- Since:
- 5.5.2
-
addFormRow
Deprecated.Replaced byUIFormWriter.addFormRow(UIFormRow, UIWidget)
Adds a complete form row in the UIBean according to the given specification with the specified user interface widget.A form row is composed of an icon, a label and the user interface widget corresponding to the specified field or group, either in read-only or read-write mode.
If the field is hidden according to the permission rules, then this method does nothing. If the field is read-only according to the permission rules, then a read-only component is displayed. This method does not take into account the
defaultView
property (since its application is restricted to the default view, which is not the case here)..This method is equivalent to:
aResponseContext.startFormRow(aFormRow); aResponseContext.addWidget(aWidget); aResponseContext.endFormRow();
It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
aFormRow
- the form row specification with thePath
of the target nodeaWidget
- the widget to be added to this pane.- Throws:
UnsupportedOperationException
- if the specified widget refers to a node that is neither terminal nor under-terminal.PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.- Since:
- 5.5.2
-
startFormRow
Deprecated.Replaced byUIFormWriter.startFormRow(Path)
Starts a form row (without icon) containing a label and plain HTML content.Note: The form row must be closed with UIComponentWriter.endFormRow() after creating its HTML content.
It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
pathForLabel
- the path of a node to display its label.- Since:
- 5.2.0
- See Also:
-
startFormRow
Deprecated.Starts a form row containing an icon, a label, and plain HTML content.Note: The form row must be closed with UIComponentWriter.endFormRow() after creating its HTML content.
It is strongly recommended to surround form rows with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.- Parameters:
pathForLabel
- the path of a node to display its label.enableIcon
-true
to enable the icon,false
to have no icon.- Since:
- 5.2.3
- See Also:
-
newFormGroup
Deprecated.Replaced byUIFormWriter.newFormGroup(Path)
Builds the default model-driven form group based on the specified node. Here, "default model-driven" means the label, the documentation pane and the initial state of the group (expanded or collapsed) are computed from the data model definition.- Parameters:
aPath
- location of the target node, relative to the current node.- Since:
- 5.7.0
- See Also:
-
startFormGroup
Deprecated.Replaced byUIFormWriter.startFormGroup(Path)
Starts a form group for the node at the given path.This method displays the default model-driven form group based on the specified node. Here, "default model-driven" means that the label, the documentation pane and the initial state of the group (expanded or collapsed) are computed from the data model definition.
This method is equivalent to:
aResponseContext.startFormGroup(aResponseContext.newFormGroup(aPath));
It is mandatory to surround a form group with
UIComponentWriter.startTableFormRow()
andUIComponentWriter.endTableFormRow()
to have an automatic width for labels and benefit from the latest rendering innovations.Note: The form group must be ended with UIComponentWriter.endFormGroup() to stop the indentation.
- Parameters:
aPath
- location of the target node, relative to the current node.- Throws:
PathAccessException
- if the specified path is incorrect; for instance, it does not refer to an existing node or it is absolute and specifies a record node.IllegalStateException
- ifUIComponentWriter.startTableFormRow()
was not called before.- Since:
- 5.7.0
- See Also:
-
doEnsureValueIsDefined
void doEnsureValueIsDefined()Deprecated.Pre-instantiates a value for the current node. This is necessary to generate the user interface with adequate default values and structure. -
getTableCellStyleHandler
Deprecated.Replaced byWidgetWriter.getTableCellStyleHandler()
This method allows customizing the look of a table cell.It can only be invoked in the context of the method
UIBeanEditor.addForDisplayInTable(UIResponseContext)
.- Returns:
- the UITableCellStyleHandler to add styles on the current cell.
- Throws:
IllegalStateException
- if this method is called outside of a table cell.- Since:
- 5.2.0
-
setCellContentWithButtonOnRight
void setCellContentWithButtonOnRight(String aString, UIButtonSpec aButton) throws IllegalStateException Deprecated.This method can be used to include content in a table cell with a button to the right.It can only be invoked in the context of the method
UIBeanEditor.addForDisplayInTable(UIResponseContext)
).This style of presentation is used for 'Preview' button in tables, for example.
The button stays aligned to the right of the cell, and on most browsers, if there is not enough space to display the entire text, the text is truncated and displayed with an ellipsis.
The button style will be forced using the following instructions:
aButton.setButtonLayout(UIButtonLayout.ICON_ONLY);
Thus, any previously defined button layout properties, such as the relief and CSS classes, will be lost.
aButton.setRelief(UIButtonRelief.FLAT);
aButton.setCssClass(...);
Note: if content is added after calling this method, an
IllegalStateException
is raised.- Parameters:
aString
- cell content (HTML or simple text)aButton
- the right-aligned button- Throws:
IllegalStateException
- if this method is called outside of a table cell or if content has been added before.- Since:
- 5.4.2
-
jsBufferAddJavaScriptExpression
Deprecated.This method is inactive except if extendingUIBeanEditorV4
. UseUIJavaScriptWriter.addJS(String)
instead.Adds a JavaScript expression to JavaScript writer. -
jsBufferAddString
Deprecated.UseUIJavaScriptWriter.addJS(String)
orUIBodyWriter.add(String)
instead.If extendingUIBeanEditorV4
, adds a String to JavaScript writer. Otherwise, adds a String to the HTTP output stream. -
jsBufferEndOfLine
Deprecated.This method is not used unless extendingUIBeanEditorV4
. UseUIJavaScriptWriter.addJS_cr()
orUIBodyWriter.add_cr()
instead.Adds an end of line when adding content to the JavaScript writer. -
jsBufferInitalize
Deprecated.This method is not used unless extendingUIBeanEditorV4
.Initializes a JavaScript writer. -
jsBufferNewLine
Deprecated.This method is not used unless extendingUIBeanEditorV4
. UseUIJavaScriptWriter.addJS_cr()
orUIBodyWriter.add_cr()
instead.Continue adding content to JavaScript writer as a new line of JavaScript code -
jsBufferReenable
Deprecated.This method is inactive except if extendingUIBeanEditorV4
.Ensures JavaScript buffer writing mode is re-enabled.The boolean argument must be the result of a previous call to method
jsBufferTemporaryDisable()
.- See Also:
-
jsBufferTemporaryDisable
Deprecated.This method is inactive except if extendingUIBeanEditorV4
.Ensures JavaScript buffer writing mode is temporary disabled.Returns
true
if current mode was writing to the JavaScript buffer.- See Also:
-
enableEscapedHtml
Deprecated.SeeUIBeanEditorV4
.Temporarily enables or disables writing escaped HTML to the stream.- See Also:
-
isEscapedHtmlEnable
Deprecated.SeeUIBeanEditorV4
.Tests whether output stream is currently escaping HTML.- See Also:
-
getNextHtmlTabIndex
Deprecated.TabIndexes
are no longer used in forms, the default order (notabIndex
) is preferable. Currently, thetabIndex
attribute is used with the value '-1' to keep the keyboard from having focus (i.e. control buttons of a field)Returns the next value for the HTML tab index in the response. -
addJS_getNodeValue
Deprecated.Replaced byUIFormWriter.addJS_getNodeValue(Path)
Adds JavaScript code to get the current value of a node as set in the form.For more information and usage, see
UIFormWriter.addJS_getNodeValue(Path)
.- Parameters:
aPath
- location of the target node, relative to the current node.- Since:
- 5.3.1
- See Also:
-
addJS_setNodeValue
Deprecated.Replaced byUIFormWriter.addJS_setNodeValue(String, Path)
Adds JavaScript code to set the value of a node from a JavaScript variable.For more information and usage, see
UIFormWriter.addJS_setNodeValue(String, Path)
.- Parameters:
aVarName
- the name of a JavaScript variable containing the value, or the raw value.aPath
- location of the target node, relative to the current node.- Since:
- 5.3.1
- See Also:
-
getPrefixedPath
Deprecated.Replaced byUIFormWriter.getPrefixedPath(Path)
Gets the prefixed path. This method is useful when using JavaScript methodsJavaScriptCatalog.ebx_form_getValue(String)
andJavaScriptCatalog.ebx_form_setValue(String, Object)
.- Since:
- 5.8.0
-
UICustomWidget
instead.