Announcement Announcement Module
Collapse
No announcement yet.
Using FCKEditor with Spring Web MVC Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using FCKEditor with Spring Web MVC

    Have any one used FCKEditor to replace <TEXTAREA> for web page front-end using Spring's Web MVC framework?

    I have tried to use the taglib provided by FCKEditor in the web page form. However, it seems that the <spring:bind> tag doesn't recognize the value stored in the FCKEditor text field.

    Do anyone has experience on this and can advice me?

    Thanks a lot!

  • #2
    Does the following work? It should...

    Maybe you should set escapeXml to false when using the c:out tag.

    Alef

    Code:
        <script type="text/javascript">
          window.onload = function&#40;&#41; &#123;
            var oFCKeditor = new FCKeditor&#40; 'test' &#41; ;
            oFCKeditor.ReplaceTextarea&#40;&#41; ;
          &#125;
        </script>
      </head>
      <body>
      <spring&#58;bind path="command.test">
        <textarea id="test" name="test"><c&#58;out value="$&#123;status.value&#125;"/></textarea>
      </body>
      </spring&#58;bind>
    </html>

    Comment

    Working...
    X