else
{
// Use the generic (non-writeBehindResponse) wrapper
if (BridgeUtil.getPortletRequestPhase() == Bridge.PortletPhase.RENDER_PHASE)
{
wrapped = new BridgeViewHandlerRenderResponseWrapper();
}
else
{
wrapped = new BridgeViewHandlerResourceResponseWrapper();
}