Re: Validwhen and array

2006-03-17 Thread coudot
For information, I use Struts 1.2.8. I am not sure the indexed property will help me as all works fine except the validwhen -- View this message in context: http://www.nabble.com/Validwhen-and-array-t1291360.html#a3456760 Sent from the Struts - User forum at Nabble.com.

Re: Validwhen and array

2006-03-16 Thread coudot
any idea? -- View this message in context: http://www.nabble.com/Validwhen-and-array-t1291360.html#a3451426 Sent from the Struts - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Validwhen and array

2006-03-16 Thread coudot
sorry for the mistake. my code is : test ((*this*!=null) or (adr[1] !=null )) -- View this message in context: http://www.nabble.com/Validwhen-and-array-t1291360.html#a3437728 Sent from the Struts - User forum at Nabble.com. -

Re: Validwhen and array

2006-03-16 Thread coudot
Thanks but I have already looked at this example. There is not control validwhen on an element of an array. All the other controls(intRange,required...) works fine on my field adr[0]. the problem is the adr[1] in the , although it seems to be allowed in the struts documentation. -- View this mes

Validwhen and array

2006-03-16 Thread coudot
Hi, I have an array of two adress lines in my form. I want to check if AT LEAST one line is not empty. I want to use the validwhen to check the first line. The first line is valid only it's not null or the second line is not null. But I have an error on my page when the instruction is called in