4 Replies Latest reply on Jun 29, 2009 5:05 AM by Feng QIN

    f:verbatim in DataList (can't show directly the html)

    Feng QIN Newbie

      Hi richfaces team,

      I have this problem:

      <rich:dataList value="#{blogListView.blogList}" var="blog">

      <f:verbatim>#{blog.blogContent}</f:verbatim>
      </rich:dataList>

      it can't show the content contains in blogContent attribute.

      blogContent is a String which contains the html I got from <rich:editor>

      if I use some bean defined in faces-config.xml directly, for exemple #{blocListView.htmlValue},and put it between <f:verbatim></f:verbatim>it works without any problem.

      So I guess it's due to var="blog"...

      Can anyone give me an answer for this issue?

      Thanks a lot!!