You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/27 07:37:45 UTC

[jira] Reopened: (STR-253) add per item header and footer to ErrorsTag

     [ http://issues.apache.org/struts/browse/STR-253?page=all ]
     
David Evans reopened STR-253:
-----------------------------

    Assign To: Craig McClanahan  (was: Ted Husted)

> add per item header and footer to ErrorsTag
> -------------------------------------------
>
>          Key: STR-253
>          URL: http://issues.apache.org/struts/browse/STR-253
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Taglibs
>     Versions: Nightly Build
>  Environment: Operating System: All
> Platform: All
>     Reporter: Keith Egler
>     Assignee: Craig McClanahan
>     Priority: Minor
>      Fix For: 1.1 Family

>
> The errors tag already supports a errors.header and errors.footer message to 
> bracket an entire error list with html.  It would be useful to bracket each 
> individual error in the list as well.  For example, if errors.header=<ul> and 
> errors.footer=</ul>, then it would be nice to set errors.itemheader=<li> and 
> errors.itemfooter=</li>.  Currently to achieve this functionality you would 
> have to put the <li> and </li> around each error message in the resource 
> bundle.  This enhancement would decouple the html from the resource bundle.
> Please email me if you want a sample solution to this problem.  It's rather 
> trivial and only requires a few lines of code.
> Thanks,
> Keith & John

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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