Salut,
j'ai un bean qui contient un tableau d'objets. Je cherche un moyen de parcourir tout le tableau pour afficher ces objets mais je n'y arrive pas.
Ce code là marche :
Code :
- <bean:write name="demande" property="commentairesIndexed[0].titre" />
|
Mais celui-là non :
Code :
- <logic:iterate id="item" name="demande.commentairesIndexed" indexId="index">
- <bean:write name="item" property="titre" />
- </logic:iterate>
|
Pourtant, en mettant manuellement un tableau au dessus et en prenant la même méthode j'arrive à le parcourir sans problème.
Je n'arrive pas à localiser la source de mon problème...