J'utilise les décorateurs suivants pour mon entrée. Je veux faire cela en tant que table.Zend Form Decorators Erreur dans le tableau
$this->setDecorators(array('ViewHelper','Errors',
array(array('data'=>'HtmlTag'), array('tag' => 'td')),
array('Label', array('tag' => 'td')),
array(array('row'=>'HtmlTag'),array('tag'=>'tr'))
));
Mais après la validation du formulaire Erreurs ne figurant pas dans td. Comment puis-je faire ceci? Je veux faire le prochain maquillage:
<table>
<tr>
<td>Lable</td>
<td>Input</td>
<td>Error</td>
</tr>
</table>
Cela ne fonctionne pas pour moi. J'ai vérifié les sources et il n'y a pas de paramètre 'tag' pour le décorateur' Errors'. Peut-être qu'il me manque quelque chose? –