Bonjour à tous,

j'ai fait un tableau avec les display tag, voici ce tableau :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
<dsp:table class="reachTab" name="${contact}" requestURI="/contact.do?method=entreContact" pagesize="10" decorator="tag.ReachDecorator">
	<dsp:column property="contactASupprimerLink" />				
	<dsp:column property="categorie.libelle" titleKey="contact.categorie"/>
	<dsp:column property="nom" titleKey="contact.nom" paramId="id" paramProperty="idContact"/>
	<dsp:column property="prenom" titleKey="contact.prenom"/>
	<dsp:column property="fixe" titleKey="contact.telephone" />
	<dsp:column property="mobile" titleKey="contact.mobile" />
	<dsp:column property="email" titleKey="contact.email" autolink="true"/>
</dsp:table>
Et dans ce tableau pour chaque ligne il y a une checkbox, la première colonne.

Et cette checkbox est géré à l'aide de la classe decorator qui permet de me générer ce que je veux.

Voici ce que j'ai dans la classe Decorator :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
public String getContactASupprimerLink(){
		AppelValue appelValue= (AppelValue) getCurrentRowObject();
        ContactValue cv = appelValue.getContactAssocie();
        String retour = "";
        if (cv != null) {
        	retour = "<INPUT type=\"checkbox\" onclick=\"marquerContact(this);\" name=\"cbcontact\" value=\""+cv.getIdContact()+"\"/>";
        }
        return retour;
	}
Mon problème est le suivant : lorsque j'accéde à ma jsp qui affiche ce tableau, j'ai une erreur de ce type :

Error lookingup property "contactASupprimerLink" not object type "tag.ReachDecorator"
Je ne vois pas d'où vient le pb.

Merci pour votre aide