0 Replies Latest reply on Apr 17, 2009 8:59 PM by Vinit Adhopia

    Missing text using <s:formattedText>

    Vinit Adhopia Newbie

      I'm having some problems trying to use <s:formattedText />.  The input is entered using a simple <h:inputTextArea>.



      <h:inputTextarea value="#{pbal.comments}" />



      The text is then displayed using the <s:formattedText />.


      <s:formattedText value="#{pbal.comments}" />



      But some of my input is being cut-off.  For the input




      +This is a big heading

      You *must* have some text following a heading!



      ++This is a smaller heading
      This is the first paragraph. We can split it across multiple

      lines, but we must end it with a blank line.



      This is the second paragraph.

      I get only the following HTML output:



      This is a big heading



      You must have some text following a heading!



      With the following HTML source:



      <h1 class="seamTextHeadline1">This is a big heading</h1>
      <p class="seamTextPara">
      You <i class="seamTextEmphasis">must</i> have some text following a heading!
      </p>

      I also get the following errors in my console:



      [UIFormattedText] Seam Text parse error: unexpected token: +
      [renderkit] 'for' attribute cannot be null
      [renderkit] 'for' attribute cannot be null
      [UIFormattedText] Seam Text parse error: unexpected token: +
      [renderkit] 'for' attribute cannot be null
      [renderkit] 'for' attribute cannot be null
      [UIFormattedText] Seam Text parse error: unexpected token: +
      [renderkit] 'for' attribute cannot be null
      [renderkit] 'for' attribute cannot be null
      



      What is the problem with the input?