2 Replies Latest reply on Apr 5, 2007 11:57 AM by Ben Catherall

    Seam mail not rendering alternative plain

    Ben Catherall Newbie


      I've got a simple seam-mail test (just xhtml page) like so:

       <m:from name="Test" address="test@blahblah.me.uk" />
       <m:to name="Blah">test@blahblah.me.uk</m:to>
       <f:facet name="alternative">Plain text</f:facet>
       <p>Rich text</p>
       <p style="color: red;">Red text</p>

      The alternative body part is in the email, but there is no text. UIBody seems to call MailComponent.encode on the alternative facet, but JSF.renderChildren only renders the children of the facet rather than the facet itself?

      Cheers - Ben