hi!

i iterate over a collection and the result in my jsp site looks somehow like
this:

<input type="text" name="questions[0]/number">

now the user is supposed to enter a number into that textfield, but he is
mean and enters a character. i catch that exception and would like to add an
error to this field, but that doesn't work.

my code looks like this:
addError("questions[0]/number", "not a number");

whenever i use addError("..") in combination with a non-[] field, it works
fine.

it seems like ww doesn't like the []-operator in combination with addError.
Is there a solution to this problem?

thanks in advance,
  martin samal





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to