Results 1 to 2 of 2

Thread: Using FCKEditor with Spring Web MVC

  1. #1
    Join Date
    Sep 2004
    Posts
    1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    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>

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  3. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 2
    Last Post: Jan 21st, 2005, 04:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •