Implement renderPostMessage.