// Check to see if this is a partial page render. If so, we need
// to push the ID of the postscript onto the partial target stack
final String postscriptId = _getPostscriptId(rc, formName);
PartialPageContext pprContext = rc.getPartialPageContext();
if (pprContext != null)
{
if (!pprContext.isInsidePartialTarget())
{
pprContext.addPartialTarget(postscriptId);
// if optimized PPR is enabled, we will never call encodeall at this point, so we need
// no force the postscript element to render now
if (PartialPageUtils.isOptimizedPPREnabled(context, false))
{