Re: ValidWhen and string comparison

2005-09-29 Thread Bryon Lape
> 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. > >>Are you sure "statut" is in your bean and getting populated? >> >> > Yes, because when the error happen (every time with any "s

Re: ValidWhen and string comparison

2005-09-29 Thread Emmanuel.Leguy
My problem is fixed! It was a stupid mistake. Excuse me for disturbing the list but the discussion opened my eyes. The type of statut was String[] and not String :-[ . So, I have a brand new question: how to valid "financement" when one of the value of "statut" is set to "Doctorant"? Is validw

Re: ValidWhen and string comparison

2005-09-29 Thread Emmanuel.Leguy
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. Are you sure "statut" is in your bean and getting populated? Yes, because when the error happen (every time with any "statut" value) i

Re: ValidWhen and string comparison

2005-09-27 Thread Niall Pemberton
What you have should work - but its always going to give an error unless statut is set to "Doctorant". Are you sure "statut" is in your bean and getting populated? Niall - Original Message - From: "Emmanuel.Leguy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, Septe