{
// Force MessageBox to be re-rendered via PPR, since the set
// of messages may have changed.
RequestContext afContext = RequestContext.getCurrentInstance();
if (afContext != null)
afContext.addPartialTarget(component);
ResponseWriter writer = context.getResponseWriter();
Map<String, String> origSkinResourceMap = arc.getSkinResourceKeyMap();