Bonjour à tous.

dans le code suivant:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
        <logic:present scope="session" name="listButton">          
            <logic:iterate id="listButton" name="listButton" scope="session">
                <bean:write name="listButton" property="from"/>
                <bean:write name="listButton" property="to"/>                 
                <logic:notEmpty name="listButton" property="button">                
                    <bean:write name="listButton.button" property="id"/>
                    <bean:write name="listButton.button" property="key"/>
 
                </logic:notEmpty>
 
            </logic:iterate>            
        </logic:present>
j'ai un petit soucis. il ne fonctionne que lorsque je l'attribut button est null.
En fait la liste listButton contient des object qui eux meme contiennent un objet de type button.

Pouvez vous m'aider merci.