This discussion is archived
4 Replies Latest reply: Nov 16, 2012 4:02 AM by Arunkumar Ramamoorthy RSS

How to render dynamic HTML code on jsff screen.

Jaykishan Newbie
Currently Being Moderated
Hi,

I need to render dynamic html code from the server on jsff page.
I have used below code line to display html content.

<af:outputFormatted value="#{row.bindings.stepsCompleted.inputValue}"/>

However, this works fine if html content is like <b>Hello</b>.

In case of dynamic html content contains <div> it does not work and screen displays plain html code line.

Is there any solution. I want to render below html code.

<div class="chevProgressIndicator zeroSpace marBottom10px " >
<ul>
<li class="completedStep"></li>
<li></li>
<li></li>
</ul>
</div>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points