}
else
{
if (viewAdapter instanceof ActionForwardViewAdapter)
{
ActionForwardViewAdapter va = (ActionForwardViewAdapter) viewAdapter;
ActionForward actionForward = va.getActionForward();
request.setAttribute(InfrastructureKeys.ACTION_FORWARD, actionForward);
return actionForward;
}
else if (viewAdapter instanceof RenderingViewAdapter)
{
RenderingViewAdapter va = (RenderingViewAdapter) viewAdapter;
va.render(context);
}
}
return null;
}