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 :
>
>
>
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
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
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
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
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]
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
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
8 matches
Mail list logo