myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Des qsdqsd <desno...@yahoo.fr>
Subject Re : f:verbatim question
Date Mon, 19 Mar 2007 15:57:24 GMT
Since this does not work neither the outputText construct ... I wonder how it's possible to
simply include raw html within a jsf page without triggering the jsf machinery for it ...

----- Message d'origine ----
De : Volker Weber <v.weber@inexso.de>
À : MyFaces Discussion <users@myfaces.apache.org>
Envoyé le : Lundi, 19 Mars 2007, 16h47mn 01s
Objet : Re: f:verbatim question

Hi,

have you tryed a simple

<h:outputText escape="false" value="#{mybean.htmlcontent}"/>

instead of the f:verbatim construct?

Regards,
  Volker

2007/3/19, Des qsdqsd <desnos66@yahoo.fr>:
>
> Hi,
>
>     I've a question with the tag f:verbatim in myfaces (using it within
> tomcat/jboss4):
>
>     I've a jsf page that gets part of its html content from legacy html
> pages :
>
> *** mypage ***
> <div>
>   <f:verbatim>
>        #{mybean.htmlcontent}
>   </f:verbatim>
> </div>
> *** /mypage ***
>
>     The problem is : if the mybean.htmlcontent is large (lots of spans and
> divs), tomcat's uses all the cpu during 50sec before serving the page.
>     If I comment out the content retrieved from the bean the content is in
> the page (inside html comments) and it does not eat all the cpu ...
> *** mypage ***
>  <div>
>    <f:verbatim>
>        <!--
>         #{mybean.htmlcontent}
>        -->
>    </f:verbatim>
>  </div>
>  *** /mypage ***
>
>    Any hints about what I'm doing wrong or an alternate solution ? I think
> that the building of the corresponding jsf components tree is responsible
> for the problem ... is there a way not to build those components ? Just to
> include the html ?
>
>   Thanks for any help,
>
> --
> Desnos
>
>  ________________________________
>  Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> ! Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! Questions/Réponses.







	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses

http://fr.answers.yahoo.com
Mime
View raw message