Bug 20573 - Allow extensions of SetRecipientTag
Summary: Allow extensions of SetRecipientTag
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Mailer Taglib (show other bugs)
Version: 1.1
Hardware: Other other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-07 12:43 UTC by Marc Guillemot
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Guillemot 2003-06-07 12:43:27 UTC
Methods in org.apache.taglibs.mailer.SetRecipientTag should not be final (resp.
private) to allow (resp. facilitate) extensions.

Im my case I have to change org.apache.taglibs.mailer.SetRecipientTag to a
custom version with the methods doAfterBody not final and addToParent as
protected rather than private to be able to write a custom extension tag that
sets the recipient to a special address if the application is running in a
development environment (this allows to test and develop without sending emails
to "real" users, perhaps could it be interesting in this library).
Comment 1 Martin Cooper 2004-01-30 06:46:43 UTC
Fixed in the 20040130 nightly build.
Comment 2 Marc Guillemot 2004-01-30 13:07:45 UTC
method SetRecipientTag.addToParent should be protected rather than private
Comment 3 Martin Cooper 2004-01-31 04:21:28 UTC
Fixed in the 20040131 nightly build. I think I nailed it this time!