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
Struts Users Mailing List" Sent: Tuesday, September 27, 2005 6:46 PM Subject: ValidWhen and string comparison > Hello, > > I try to use the validator with validwhen. I want to use a string > comparison but it fails. I use struts 1.2.7 and here is my validators.xml: > >

ValidWhen and string comparison

2005-09-27 Thread Emmanuel.Leguy
Hello, I try to use the validator with validwhen. I want to use a string comparison but it fails. I use struts 1.2.7 and here is my validators.xml: "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN" "http://jakarta.apache.org/commons/dtds/v