protected function renderList($writer)
{
$header = $this->getHeaderText();
$messages = $this->getErrorMessages();
$content = '';
if (strlen($header)) {
$content .= $header . "<br/>\n";
}
foreach ($messages as $message) {
$content .= "{$message}<br/>\n";
}
$writer->write($content);
}