I get a String from < p:editor> like this : < b>This is bold text< /b>.
I want to show <b>This is bold text</b> in xhtml page. What tag can i use to do that ?
I get a String from < p:editor> like this : < b>This is bold
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use an outputText withescape="true":As stated in the answer to this question:
So, if you don’t use an
outputTexttag with theescapeattribute set totrueFacelets will add one for youwhich will escape the html tags.Edit: I am completely wrong about the
escapeattribute. Please forgive my ignorance as I am still learning as well. According to the documentation theescapeattribute:Please see the answer to this OS question for a correct example.