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

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
null) or adr (adr[1])) Niall > -- > View this message in context: > http://www.nabble.com/Validwhen-and-array-t1291360.html#a3436463 > Sent from the Struts - User forum at Nabble.com. - To unsubscribe, e-mail

Re: Validwhen and array

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

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

Validwhen and array

2006-03-16 Thread coudot
ed in the validator "unexpected token adr ..." . here is my code test ((*this*!=null) or adr (adr[1])) Is it possible to check that with the validwhen? -- View this message in context: http://www.nabble.com/Validwhen-and-array-t1291360.html#a3435828 Sent from th