This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 4, 2012, 8: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, 10:53 AM
68 Posts
Re: How to display Rich Text value ?
Resolved -> Computed Field -> Content Type: HTML

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal