On Mon, Aug 22, 2005 at 11:18:50AM -0500, Josh Cronemeyer wrote: > Hi, > > I've been playing with the indexedListProperty to validate what a user has > selected in my forms. The problem I am having is that when an error message > gets returned, It does not get associated with the form element > (<html:multibox property="test"> in my case). I think the problem is that > the message comes back with a key of test[x] where x is the index of the > error. If I just print out my error messages like this <html:errors/> I can > see the error message, but <html:errors property="test"/> doesn't show > anything. It seems like the <html:errors> tag should have an > indexedListProperty parameter as well so I can display my error messages > correctly. What am i missing? > > Regards, > > josh cronemeyer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > I've looked all over in the struts user guide and googled for information on this. It appears that while the validator can handle validation of indexed beans in forms, the struts JSP taglibs cannot handle the resulting indexed messages. Could this be a bug? It sure looks that way.
Thanks, josh cronemeyer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]