You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hunter Hillegas <li...@lastonepicked.com> on 2003/07/10 23:05:25 UTC

Strange Results of Validation

I have an ActionForm that contains a Collection of JavaBeans. The ActionForm
validates some properties in the JavaBeans.

The Collection uses a LazyList.

If validation fails and I get pushed back to the entry page, I get an extra
item displayed from my <nested:iterate> tags.

For instance, if I have one item in the Collection, I will see that item
displayed along with another blank/empty item.

I am using request scope. For debugging purposes I printed out the size of
the Collection in my Action and it shows as a value of 1.

Any ideas where this bogus extra entry is coming from?

Thanks,
Hunter


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org