Interface WidgetListValidationContext
- All Superinterfaces:
WidgetValidationContext
Encapsulates an HTTP request so that a custom widget can provide the user
input validation context for list custom widget.
- Since:
- 5.8.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetPathForListOccurrence
(int index) Returns the absolute path of an occurrence at the specified index under the current aggregated list field (maxOccurs > 1
).getPathForListOccurrence
(int index, boolean isRelative) Returns the path of an occurrence at the specified index under the current aggregated list field (maxOccurs > 1
).Methods inherited from interface com.orchestranetworks.ui.form.widget.WidgetValidationContext
getNode, getOptionalRequestParameterValue, getOptionalRequestParameterValues, getPermission, getSession, getValue, getValueContext, getValueContext, getWidgetName, getWidgetName, getWidgetName, getWidgetNameOfParent
-
Method Details
-
getPathForListOccurrence
Returns the absolute path of an occurrence at the specified index under the current aggregated list field (maxOccurs > 1
).This method can be useful for widget that extends
UIListCustomWidget
to call the best matching widget for each occurrence.- Parameters:
index
- The index of an occurrence in the current aggregated list field.- Returns:
- The path of an occurrence at the specified index.
- See Also:
-
getPathForListOccurrence
Returns the path of an occurrence at the specified index under the current aggregated list field (maxOccurs > 1
).This method can be useful for widget that extends
UIListCustomWidget
to call the best matching widget for each occurrence.- Parameters:
index
- The index of an occurrence in the current aggregated list field.isRelative
- If true, the returned path will be relative. If false, it will be absolute.- Returns:
- The path of an occurrence at the specified index.
- See Also:
-