This content has been marked as final.
Show 7 replies
-
1. Re: using rich:editor
nbelaevski Mar 5, 2009 6:33 AM (in response to thiruneela)Hello Thiru,
That's not a code format, but HTML-formatted text. You can output this back easily:<h:outputText escape="false" value="#{bean.message}" />
-
2. Re: using rich:editor
thiruneela Mar 5, 2009 8:11 AM (in response to thiruneela)Hi Nick!
Thanks for your speedy reply. This tag works fine if I display the in my browser.
I typed some text in seam editor and applied some text format. This value is set to bean's property.
This message is sent to some user through email using seam-mail. The receiver received the message like<h1>thiru</h1> <p>(a+b)<sup>2</sup></p> <p><span style="text-decoration: underline;">Hello</span></p>.
What I want is the receiver should receive the data in normal format(shouldn't see html-formatted text). -
3. Re: using rich:editor
thiruneela Mar 5, 2009 8:31 AM (in response to thiruneela)Sorry it is rich:editor
-
4. Re: using rich:editor
thiruneela Mar 5, 2009 8:38 AM (in response to thiruneela)See the following link, it might help you.
http://mkblog.exadel.com/?cat=34 -
5. Re: using rich:editor
thiruneela Mar 5, 2009 8:43 AM (in response to thiruneela)"thiruneela" wrote:
See the following link, it might help you.
http://mkblog.exadel.com/?cat=34
Please ignore it. Accidently posted. Regret the inconvience. -
6. Re: using rich:editor
nbelaevski Mar 5, 2009 9:56 AM (in response to thiruneela)Maybe you have to use proper MIME header? Please consult Seam documentation for solution.
-
7. Re: using rich:editor
thiruneela Mar 6, 2009 9:16 AM (in response to thiruneela)Found the solution myself.
We need to use the following command inside the
mail body.<m:body> <h:outputText escape="false" value="#{mail.message}"/> </m:body>