}
}
attValue = this.getHasnextpage();
if (attValue != null) {
IterationTagStatus iterationTag = (IterationTagStatus) this.getTagStatusById(attValue, IterationTagStatus.class);
if (iterationTag == null) {
this.addWarning("Could not find iteration tag: " + this.getHasnextpage());
return false;
}
if (!iterationTag.hasNextPage()) {
return false;
}
}
attValue = this.getHaspreviouspage();
if (attValue != null) {
IterationTagStatus iterationTag = (IterationTagStatus) this.getTagStatusById(attValue, IterationTagStatus.class);
if (iterationTag == null) {
this.addWarning("Could not find iteration tag: " + attValue);
return false;
}
if (!iterationTag.hasPreviousPage()) {
return false;
}
}
attValue = this.getIscontextvalid();