2 Replies Latest reply on Jan 22, 2009 5:53 AM by rcherchi

    Issue with rich:editor, SeamText and special characters

    rcherchi

      Hi guys,

      I'm using Rich Faces 3.3.0.GA, Seam 2.1.1.GA and JBoss AS 4.2.3.GA

      I have a situation with rich:editor (useSeamText="true") when I try to save a special character (accents or euro symbol).

      23:13:26,592 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but
      may not have been displayed. sourceId=poi-edit-form:textArea-news-fr[severity=(INFO 0),
      summary=(An error occurred during conversion html to seam text), detail=(expecting an
      opening angle bracket '<', found '&')]
      


      Here is the xhtml :

      <rich:editor id="textArea-news-#{poiDet.locale.id}"
       value="#{poiDet.recentNews}"
       autoResize="true"
       width="500"
       height="350"
       useSeamText="true"
       configuration="richeditorconfig"
       language="#{locale.language}" />
      


      When I set useSeamText to false, saving is ok but rendering doesn't work using :


      <s:formattedText value="#{poiInfoManager.poiDetails.recentNews}"/>


      Is there something I forgot ?

      Thanks for you guidelines.