[jboss-user] [JBoss Seam] - Seam mail not rendering alternative plain
dilator
do-not-reply at jboss.com
Thu Apr 5 09:21:11 EDT 2007
Hi,
I've got a simple seam-mail test (just xhtml page) like so:
| <m:message>
| <m:from name="Test" address="test at blahblah.me.uk" />
| <m:to name="Blah">test at blahblah.me.uk</m:to>
| <m:subject>Test</m:subject>
| <m:body>
| <f:facet name="alternative">Plain text</f:facet>
| <html>
| <body>
| <p>Rich text</p>
| <hr/>
| <p style="color: red;">Red text</p>
| </body>
| </html>
| </m:body>
| </m:message>
|
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035001#4035001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035001
More information about the jboss-user
mailing list