struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-253) add per item header and footer to ErrorsTag
Date Thu, 27 Apr 2006 05:39:45 GMT
     [ http://issues.apache.org/struts/browse/STR-253?page=all ]
     
David Evans closed STR-253:
---------------------------

    Resolution: Fixed

> 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


Mime
View raw message