[
https://jira.jboss.org/jira/browse/JBSEAM-4587?page=com.atlassian.jira.pl...
]
Marek Novotny commented on JBSEAM-4587:
---------------------------------------
The cause is new JSF 2 behaviour for UI text child component.
Just use the following JSF 2 context parameter:
<context-param>
<param-name>com.sun.faces.allowTextChildren</param-name>
<param-value>true</param-value>
</context-param>
seam-mail does not render facets correctly on JBoss AS 6
--------------------------------------------------------
Key: JBSEAM-4587
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4587
Project: Seam
Issue Type: Bug
Components: Mail
Affects Versions: 2.2.1.CR1
Environment: JBoss AS 6 M2 with Mojarra 2.0.3-SNAPSHOT
Reporter: Jozef Hartinger
Assignee: Pete Muir
seam-mail's html template contains the following alternative facet:
<f:facet name="alternative">
<h:outputText>This is the alternative text body for mail readers that
don't support html</h:outputText>
</f:facet>
On JBoss AS 5.1.0.GA this facet is rendered as:
------=_Part_0_1529785252.1267794024939
Content-Type: multipart/alternative;
boundary="----=_Part_1_802611549.1267794024973"
------=_Part_1_802611549.1267794024973
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
This is the alternative text body for mail readers that don't support html
------=_Part_1_802611549.1267794024973
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
However, on JBoss AS 6.0.0.M2 this part is blank:
------=_Part_0_1364556105.1267794343401
Content-Type: multipart/alternative;
boundary="----=_Part_1_270988920.1267794343438"
------=_Part_1_270988920.1267794343438
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------=_Part_1_270988920.1267794343438
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira