1 2 Previous Next 21 Replies Latest reply on Jul 16, 2009 3:22 AM by vidda Go to original post
      • 15. Re: Error in Editor Component.

         

        "ilya_shaikovsky" wrote:
        If you using only s:outputFormat just to output you formatted text and not talking about using editor that this should be seems answered in seam thread.


        Thanks :). The first time I saw this problem, I was using rich editor. After that, I started to analyze this. After some test using only <s:formattedText> including text inside bold tag, I think that the problem is with Seam Text and bold tag.

        What do you think about? When Tony post this problem, you tested only with s:formattedText?



        Another thing, I tried yesterday to create a post on Seam Forums (http://www.jboss.org/index.html?module=bb&op=viewforum&f=231) but seems like I have no permissions on this Forum, because this message appears when I tried:

        "Sorry, but only todo can read topics in this forum. "

        Can you help me with this too? I don't know why I can post on this Richfaces forum and can't on Seam. I have the only chance to ask here and on Seam Community (http://seamframework.org/Community/SeamUsers) :(.

        • 16. Re: Error in Editor Component.
          alex.kolonitsky

          For this example
          ----- In Editor
          123qwe
          ----- Html which is sent to server
          qwe123
          ----- SeamText which we got from this html
          qwe123

          ----- Html which we get with Seam converter
          qwe
          123

          -----

          If starts with html tag (in our case ) it is translated as html (qwe) and paragraph ('123' - it is a separate paragraph)
          I think it is a SeamText bug

          Note: for seam 2.1.0 SP1 tag (and ) is not a format tag but a general html one.

          • 17. Re: Error in Editor Component.
            nbelaevski

             

            "Alex.Kolonitsky" wrote:
            For this example
            ----- In Editor
            123qwe

            ----- Html which is sent to server
            <p><b>qwe</b>123</p>

            ----- SeamText which we got from this html
            <b>qwe</b>123
            

            ----- Html which we get with Seam converter
            <b>qwe</b><p class="seamTextPara">
            123
            </p>

            -----

            If < p > starts with html tag (in our case < b >) it is translated as html (< b >qwe</ b >) and paragraph ('123' - it is a separate paragraph)
            I think it is a SeamText bug

            Note: for seam 2.1.0 SP1 tag < b > (and < strong >) is not a format tag but a general html one.


            • 18. Re: Error in Editor Component.

               

              "Alex.Kolonitsky" wrote:
              For this example
              ----- In Editor
              123qwe

              ----- Html which is sent to server
              <p><b>qwe</b>123</p>

              ----- SeamText which we got from this html
              <b>qwe</b>123
              

              ----- Html which we get with Seam converter
              <b>qwe</b><p class="seamTextPara">
              123
              </p>

              -----

              If < p > starts with html tag (in our case < b >) it is translated as html (< b >qwe</ b >) and paragraph ('123' - it is a separate paragraph)
              I think it is a SeamText bug

              Note: for seam 2.1.0 SP1 tag < b > (and < strong >) is not a format tag but a general html one.



              I have tested with today snaphot of richfaces (someone points me to check it) and occurs the same.

              And I have test a work around to solve this, and if s:formattedText receive a value like this:
              <p><b>this is bold text</b> and this normal, all on a single line.</p>


              Seam Text will show a perfect single line with bold and normal styles! :)

              Now I think that this is a problem with richeditor when converts input to seamtext. Maybe instead of using double "\n" to delimit a new paragraph, it should be best use < p > html tag.

              I say that because I think step 3 of your list ("SeamText which we got from this html") is part of richeditor when converts input to seamtext.


              And if you think is a Seam Text bug (I am not on a position to conclude is it richfaces or seam bug), I have a doubt, Seam and Richfaces are under JBoss. Can you discuss this problem together (seam and richfaces) and look for a conclusion? It will help users :).

              • 19. Re: Error in Editor Component.

                 

                "Vidda" wrote:
                I have a doubt, Seam and Richfaces are both JBoss projects and I think teams could be together or have possibility to talk. Could you discuss this problem together (seam and richfaces teams) and look for a solution? It will help users :).



                Any comments about it ? :)

                • 20. Re: Error in Editor Component.
                  tony.herstell1
                  • 21. Re: Error in Editor Component.

                    I have created a JIRA for Seam Text:

                    https://jira.jboss.org/jira/browse/JBSEAM-4304

                    I hope they say something and this problem will be fixed soon :) .

                    1 2 Previous Next