addFieldError is the proper way. I should probably make the getFieldError return an unmodifiable list...
> -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Monday, October 06, 2003 7:25 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] whats the proper way to add field errors > > > has anyone taken a look at this issue lately? > > http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-261 > > basically id like to know what should be way to add field errors, > > addFieldError("field","field Error") // this adds the field > error to the > List of fieldErrors for field > or > getFieldErrors.put("field","field Error") > > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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