* page from it.
*
*/
protected WOComponent nextPageFromDelegate() {
WOComponent result = null;
NextPageDelegate delegate = nextPageDelegate();
if (delegate != null) {
if (!((delegate instanceof ERDBranchDelegate) && (branchName() == null))) {
// AK CHECKME: we assume here, because nextPage() in
// ERDBranchDelegate is final,
// we can't do something reasonable when none of the branch
// buttons was selected.
// This allows us to throw a branch delegate at any page, even
// when no branch was taken
result = delegate.nextPage(this);
}
}
return result;
}