You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2002/04/03 19:57:26 UTC
DO NOT REPLY [Bug 7730] New: -
setRecipient and addRecipient tags not updating addresses when they are set dynamically in tag body.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7730>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7730
setRecipient and addRecipient tags not updating addresses when they are set dynamically in tag body.
Summary: setRecipient and addRecipient tags not updating
addresses when they are set dynamically in tag body.
Product: Taglibs
Version: unspecified
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Mailer Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: dawn.roth@sun.com
The setRecipient and addRecipient tags never update their addresses if you set
them dynamically in the tag's body. The tags pickup the first address ever set
in the tag body, and then use it over and over, regardless of how it changes.
<mt:setrecipient type="to"><%= toEmailAddr %></mt:setrecipient>
I downloaded the source and fixed this problem in my local copy by adding this
line:
address = null; // reset address
to the doAfterBody() just above the return statement.
Please note that this bug prevents the dynamic setting of email addresses when
sending mail since the other ways of setting to addresses do not allow dynamic
values.
I am running on solaris 8, with Dynamo 5.5 app server.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>