*/
protected ControllerContext getLocalContext(AbstractController controller, Object name, ControllerState state)
{
if (controller instanceof ScopedController)
{
ScopedController scopedController = (ScopedController)controller;
return scopedController.getContextLocally(name, state);
}
else
return controller.getContext(name, state);
}