requestContext._debugPushSemanticKeyPrefix();
}
Object orderedList = null;
int repeatCount;
OrderedList orderedListClassExtension = null;
if (_list != null) {
orderedList = _orderedListInComponent(component);
orderedListClassExtension = OrderedList.get(orderedList);
repeatCount = orderedListClassExtension.size(orderedList);
repeatCount = minimumRepeatCount(repeatCount, component);
}
else {
repeatCount = _count.intValue(component);
}
int index = _startIndex(component);
if (index > 0) requestContext.incrementElementId(index); // bump elementId to match start pos
for (; index < repeatCount; index++) {
requestContext.pushElementIdLevel();
pushIterationValues(component, index, orderedListClassExtension, orderedList, parentPath, scoping);
// record & playback
if (shouldPushSemanticKeyPrefix) {
String key = null;
if (_semanticKey != null) {
key = (String)_semanticKey.value(component);
}
if (key == null && orderedList != null) {
Object item = orderedListClassExtension.elementAt(orderedList, index);
if (item != null) {
SemanticKeyProvider provider = AWSemanticKeyProvider.get(item);
if (provider != null) {
key = SemanticKeyProviderUtil.getKey(provider, item, component);
}