Niall Pemberton a écrit :
What you have should work - but its always going to give an error unless statut is set to "Doctorant".
Yes! It's what i want.
Yes, because when the error happen (every time with any "statut" value) i display errors (<html:errors/>) and the same form with the values the user entered. And the value of statut is what the user gave. Acording to me, that means that the form bean (and "statut") is populated with the user values. If i suppress the validwhen rule, the action is able to get the "statut" value.Are you sure "statut" is in your bean and getting populated?
Thanx, Manu. -- Emmanuel Leguy LIFL - UMR8022 CNRS - Bat M3 Tel: +33 3 28 77 85 32 USTL - Universite de Lille 1 Fax: +33 3 28 77 85 37 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE mailto:[EMAIL PROTECTED] http://www.lifl.fr/ANNUAIRE/employee.php?login=leguye Ce mail est signe par un certificat X509 fourni par le CNRSLa verification de ce certificat peut etre faite a l'adresse suivante: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html
smime.p7s
Description: S/MIME Cryptographic Signature