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 <var-value>, although it seems to be > allowed in the struts documentation.
I would have expected it to work, although I haven't used an array myself. Can you copy/paste the actual xml you're using, because the original sample you gave was clearly not a valid "test" value: <var-value>((*this*!=null) or adr (adr[1]))</var-value> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]