myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvanma...@comcast.net (Gary VanMatre)
Subject Re: [Trinidad] Pure HTML Component
Date Fri, 12 Oct 2007 13:35:19 GMT
>From: Michael Borchert <michael.borchert@mbsoftwareconsulting.com> 
>
> Hi, 
> 
> I have the problem, that I have a web service call that renders pure 
> HTML an gives the page back as HTML. How can I open a dialog, that 
> contains pure HTML. I tried outputDocument but this interprets the HTML 
> code. I want to avoid writing a temporary file. The other solution is to 
> provide a Servlet. But isn't there the chance in Faces? 
> 
> I'm using Trinidad 1.2.2 MyFaces 1.2 and Facelets 1.1.11 on Tomcat6. 
> 
> In short, how do I open a dialog with the content of a string in the 
> backing bean as rendered HTML. 
> 

Would a simple outputText work?

<h:outputText value="sessionBean.rawHtml"  escape="false"/>


> Many thanks, 
> Michael 
> 
> 
Mime
View raw message