FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Aug 4, 2012, 4:43 AM
68 Posts
topic has been resolvedResolved

How to display Rich Text value ?

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: End user,Developer,Administrator
  • Tags:
  • Replies: 1
Hi I have pretty inconvenient problem I want to display Rich Text value in a label or computed Field using something like this (simple binding):
 
<xp:text id="wiadomosc_Powitalna1"
        value="#{AnkietaPodglad_Document.Wiadomosc_Powitalna}">
 </xp:text>
 
But instead of normal Formated HTML I get pure html code looking for example like this:
 
<p dir="ltr"> <font face="serif" size="2">Witamy w an<span style="color:#ff0000;">kiecie po</span></font><font face="serif" size="3"><span style="color:#ff0000;">d tytuł</span>em Mo<span style="font-size:14px;">tyw</span></font><span style="font-size:14px;"><font face="serif">y podjecia</font></span><font face="serif" size="3"><span style="font-size:14px;"> n</span>auki na</font><font color="#FF8C00" face="serif" size="3"> uczelni &ndash; ankieta dl</font><font face="serif" size="3">a student&oacute;w I roku. <span style="color:#a52a2a;">Dodam jakiś ładny tekst </span></font><img alt="Złość" height="18" src="/xsp/.ibmxspres/domino/ckeditor/plugins/sametimeemoticons/images/EmoticonAngry.gif" title="Złość" width="18" /></p> 
 
How Can I save problem ?
Aug 4, 2012, 6:53 AM
68 Posts
Re: How to display Rich Text value ?
Resolved -> Computed Field -> Content Type: HTML

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.