Hi Robert,
you can see an example of this in EVN's rich text editors, where users
can also enter HTML markup. In read-only/display mode, these values are
rendered using swa:RichTextViewer, which boils down to exactly your code:
<ui:parse ui:str="{= ?object }"/>
Note that this may lead to code injection attacks etc, but that's
hopefully under your control.
Did you run into problems with this, or why did you ask?
Thanks,
Holger
On 3/19/2014 23:42, Wiethorn, Robert wrote:
Hi,
I'm trying present data on webpages.
One of the data fields (from a legacy) system has markup entangled in
the text values. (it was probably initially copied off a browser)
We would like the html to be rendered in the browser when displayed.
Here is an example of the following:
?blah=
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt;
mso-ansi-language: EN-US" lang=EN-US>blah blah blah, some more blah.
Regarding <b>Blah</> ,DG FC could be blahing the widget, RO must be
uploaded by R&D-PR.</SPAN><SPAN style="mso-ansi-language: EN-US"
lang=EN-US><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
I tried:
<tr>
<td>{= ?blah }</td>
<td>
<ui:parse ui:str="{= ?blah }"/>
</td>
</tr>
Is this how UI:parse is used?
Thanks,
Rocky
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise
Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid
Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL
Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.