0

By using XML and XSLT (TRANSFORMATION), I have got HTML code as a stream.

I want to bind that code with the JSF component. I am using MyFaces 2.1.6 implementing JSF 2.0.

Please suggest a way to bind the stream to JSF component.

Widor
  • 13,003
  • 7
  • 42
  • 64
Sunny Gupta
  • 6,929
  • 15
  • 52
  • 80

1 Answers1

0

Convert it to String and show it in <h:outputText escape="false">.

<h:outputText value="#{bean.html}" escape="false" />
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555