"behavior not enabled; ignoring call. behavior: {} at index: {} on component: {}",
new Object[] { behavior, idAsInt, component });
if (requestCycle.getRequest() instanceof WebRequest &&
((WebRequest)requestCycle.getRequest()).isAjax())
{
throw new AbortException();
}
return;
}
behaviorListener = (IBehaviorListener)behavior;
}
}
if (behaviorListener == null)
{
// wicket-2107
throw new PageExpiredException("No behavior listener found with behaviorId " + id +
"; Component: " + component.toString());
}
if (!component.isVisibleInHierarchy() ||
(!(behaviorListener instanceof IIgnoreDisabledComponentBehavior) && !component.isEnabledInHierarchy()))
{
// ignore this request
logger.warn("component not enabled or visible; ignoring call. Component: {}", component);
if (requestCycle.getRequest() instanceof WebRequest &&
((WebRequest)requestCycle.getRequest()).isAjax())
{
throw new AbortException();
}
return;
}