public interface WidgetListValidationContext extends WidgetValidationContext
UIListCustomWidget.validate(WidgetListValidationContext)
Modifier and Type | Method and Description |
---|---|
Path |
getPathForListOccurrence(int index)
Returns the absolute path of an occurrence at the specified index under the
current aggregated list field (
maxOccurs > 1 ). |
Path |
getPathForListOccurrence(int index,
boolean isRelative)
Returns the path of an occurrence at the specified index under the
current aggregated list field (
maxOccurs > 1 ). |
getNode, getOptionalRequestParameterValue, getOptionalRequestParameterValues, getPermission, getSession, getValue, getValueContext, getValueContext, getWidgetName, getWidgetName, getWidgetName, getWidgetNameOfParent
Path getPathForListOccurrence(int index)
maxOccurs > 1
).
This method can be useful for widget that extends
UIListCustomWidget
to call the
best matching widget
for each occurrence.
index
- The index of an occurrence in the current aggregated list field.Step.isIndexed()
,
WidgetWriterForList.getPathForListOccurrence(int, boolean)
Path getPathForListOccurrence(int index, boolean isRelative)
maxOccurs > 1
).
This method can be useful for widget that extends
UIListCustomWidget
to call the
best matching widget
for each occurrence.
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.Step.isIndexed()