0 Replies Latest reply on Feb 1, 2010 7:02 AM by nimo stephan

    pre-tag or rich:insert

    nimo stephan Master

      I do not understand the difference between <pre>-tag and rich:insert.

       

      I use the <pre> tag and the preformatted text is rendered right.

       

      However, when using rich:insert, this text does not render right (the brackets are ignored, though the text has brackets).

       

      I have tried it to declare the encoding-property with different encodings (however, with <pre>, I have not assign a encoding, as it renderes right).

       

      {code}<rich:insert content="#{myString}" encoding="US-ASCII"/>
      {code}