Re: Validwhen and array

2006-03-17 Thread Niall Pemberton
OK I just tried this myself and got the same error "unexpected token" error - looks like its a bug. Can you file a bug report against Struts for this please: http://issues.apache.org/bugzilla/ Niall On 3/16/06, coudot <[EMAIL PROTECTED]> wrote: > > sorry for the mistake. > > my code is : > > >

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 Niall Pemberton
On 3/16/06, coudot <[EMAIL PROTECTED]> wrote: > > 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 b

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

Re: Validwhen and array

2006-03-16 Thread Niall Pemberton
Take a look at the struts-examples webapp, theres a validwhen example in the "validator" module - since 1.2.7 or 1.2.8 I think Niall On 3/16/06, coudot <[EMAIL PROTECTED]> wrote: > > 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 w