ChenilleKit
  1. ChenilleKit
  2. CHEN-2

Editor doesn't work with ajax form submit

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: chenillekit-tapestry
    • Labels:
      None
    • Environment:
      Any
    • Number of attachments :
      1

      Description

      Editor value isn't updated if form contents are sent in ajax request. The issue is mentioned in http://chenillekit.codehaus.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/Editor.html but there's no corresponding issue so I opened one.

        Activity

        Hide
        Sven Homburg added a comment -

        I am nearly sure, that is a FCKEditor problem.
        http://blog.zunch.com/post/Using_FCKEditor_in_AJAX.html

        Show
        Sven Homburg added a comment - I am nearly sure, that is a FCKEditor problem. http://blog.zunch.com/post/Using_FCKEditor_in_AJAX.html
        Hide
        Kalle Korhonen added a comment -

        Yes, I can verify that. I needed to implement this auto-save feature and I first tried just reading the value of input but saw that it was never updated, then found the same post and implemented the auto-save using the given code. I wonder though if the chenillekit component could incorporate this fix and update the value before form submit? I didn't try this, the auto-save I have is completely custom and not part of the submit.

        Show
        Kalle Korhonen added a comment - Yes, I can verify that. I needed to implement this auto-save feature and I first tried just reading the value of input but saw that it was never updated, then found the same post and implemented the auto-save using the given code. I wonder though if the chenillekit component could incorporate this fix and update the value before form submit? I didn't try this, the auto-save I have is completely custom and not part of the submit.
        Hide
        Joost Schouten added a comment -

        I have build a patch that fixes both the AJAX loading (Editor AJAX load in zone) and the form submission over AJAX. I have not tested it on all browsers but it seems to be working on safari, IE8, FF and chrome.

        Show
        Joost Schouten added a comment - I have build a patch that fixes both the AJAX loading (Editor AJAX load in zone) and the form submission over AJAX. I have not tested it on all browsers but it seems to be working on safari, IE8, FF and chrome.

          People

          • Assignee:
            Sven Homburg
            Reporter:
            Kalle Korhonen
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: