Hi.  I'm trying to do this on a JSP page:

<logic:iterate collection="foobar" id="foo" indexId="i">
  <html:text name="foo" property="myValue" indexed="true"/>
  <html:errors property="foo<%= i %>"/>
</logic:iterate>

And my form's validate method adds to the ActionErrors using:
  errors.add("foo"+i, new ActionError("errors.badFoo"));

The problem is, I can get all the error messages back with a simple
<html:errors/> tag, but the above construct doesn't show the error
messages at all.

I have double-checked that I'm using the same error names in the form
validtor and on the jsp.

-- 
Jonathan Fuerth - SQL Power Group Inc.
(416)218-5551 (Toronto); 1-866-SQL-POWR (Toll-Free)
Unleash the Power of your Corporate Data - http://www.sqlpower.ca/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to