struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <>
Subject [jira] Reopened: (STR-1844) Errors tag does not allow the user to customize the header/footer/prefix/suffix
Date Mon, 24 Apr 2006 22:53:09 GMT
     [ ]
David Evans reopened STR-1844:

    Assign To: David Evans  (was: Struts Developer Mailing List)

> Errors tag does not allow the user to customize the header/footer/prefix/suffix
> -------------------------------------------------------------------------------
>          Key: STR-1844
>          URL:
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Taglibs
>     Versions: Nightly Build
>  Environment: Operating System: All
> Platform: All
>     Reporter: Jason Gola
>     Assignee: David Evans
>     Priority: Minor
>  Attachments:, struts-html.tld, struts-html.xml, struts-nested.tld, struts-nested.xml
> We're currently using Struts 1.1 and we came across a problem where the header 
> for our errors section was inappropriate for some of the pages in our 
> application.
> My idea is to modify the ErrorTag functionality such that the user can specify 
> any, all, or none of the message keys that should be used for the header, 
> footer, prefix, and suffix.
> ===========================
> I got the nightly code from 11-07-2003 and made enhancements to  
> to allow the user to specify headerKey, footerKey, prefixKey, and suffixKey.  
> For each of those attributes, if the attribute is missing then the tag uses the 
> default value (errors.header, errors.footer, errors.prefix, errors.suffix).  I 
> also moved those default keys to static variables.
> I think that this should work for both the html and the nested taglib, so I 
> modified html.tld and nested.tld.  I couldn't find those files in the nightly 
> download, so I modified copies that I have from Struts 1.1.  These files now 
> have four new attributes for the errors tag, all of which are optional.
> ==============================================================================
> I modified the xml documentation for struts-html.xml and struts-nested.xml to 
> include website documentation.  The documentation in this file is very similar 
> to the javadoc that I added in
> I can be reached at for questions/requests regarding this 
> enhancement.
> Thanks!
> Jason Gola

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message