I have a special row in my table for errors:

```
<tr>
    <td colspan="2"><p:message for="questionId" id="msgQuestion" /></td>
</tr>

```

How can I set this so the row is only displayed when there is an error?