anActionResult = pageWithName(navigationItem().pageName());
} else if ((navigationItem().directActionName() != null) && (!navigationItem().directActionName().equals(EMPTY_STRING))) {
// FIXME: Need to support directAction classes
if(_linkDirectlyToDirectActions) {
ERXDirectAction da = new ERXDirectAction(context().request());
anActionResult = (WOComponent)(da.performActionNamed(navigationItem().directActionName()));
} else {
anActionResult = (WOComponent)valueForKeyPath("directActionRedirect");
}
}
return anActionResult;