Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-261 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-261 Summary: fieldErrors dont display multiple errors in view tags Type: Bug Status: Assigned Priority: Major Project: WebWork Components: Views Versions: 2.0 Assignee: Patrick Lightbody Reporter: Francisco Hernandez Created: Thu, 21 Aug 2003 8:29 PM Updated: Thu, 21 Aug 2003 8:29 PM Description: this is the fixed version of controlheader.vm that displays multiple errors per field (for fieldErrors), before the errors would simply list as [ErrorOne,ErrorTwo] and would resolve with getText() messages #if( $stack.findValue("fieldErrors") ) #set( $errors = $stack.findValue("fieldErrors.get('$tag.Name')") ) #if( $errors ) <tr> <td colspan="2" class="error"><span class="errorMessage"> #foreach( $error in $errors ) #set( $message = $stack.findValue("getText('${error}')") ) #if( $message && $message != "" ) $message<br> #else $error<br> #end #end </span></td> </tr> #end #end #set( $labelValue = $stack.findValue("getText('$tag.Label')") ) #if( !$labelValue ) #set( $labelValue = $tag.Label ) #end <tr> <td align="right" valign="top"#if($error) class="error"#end><label class="label">$!{labelValue}:</label></td> <td#if($errors) class="error"#end> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork