if(branchDelegate == null) {
WOComponent current = parent();
while(current != null) {
if(current instanceof ERD2WPage) {
ERD2WPage page = (ERD2WPage)current;
branchDelegate = page.pageController();
return branchDelegate;
}
current = current.parent();
}
}