0 Replies Latest reply on Apr 25, 2013 2:05 PM by ginni machamer

    <m:cc> not populated?

    ginni machamer Newbie

      Hi All,


      I have a method using the renderer with a very simple .xhtml page like so:


      <m:message xmlns="http://www.w3.org/1999/xhtml"
          <m:header name="X-Sent-From" value="Seam" />
                <m:to name="#{notification.toAddress}">#{notification.toAddress}</m:to>
          <m:from name="#{notification.fromName}" address="#{notification.fromAddress}"/>
                                                 <ui:include src="/notifications/notification.xhtml"/>


      As I step through the debugger, I am able to see that my notification object .ccAddress attribute is properly populated with an email address. The message is sent successfully. However, the received message has no CopyTo value, whatsoever. The SendTo is set just as I saw in the debugger.


      Am I missing something really obvious?

      My sendNotification method is sending the fully assembled notification object as I am able to see in the debugger. Here's a snippet from the method.



      Renderer renderer = (Renderer) Component.getInstance(Renderer.class);

      Contexts.getSessionContext().set("notification", notification);

      Contexts.getSessionContext().set("attachment", attachment);

      //this.notification = notification;

      this.attachment = attachment;

      type.visitRenderer(attachment, renderer);




      Thanks in advance for any ideas.