Ticket #113 (closed defect: invalid)

Opened 3 months ago

Last modified 2 months ago

problems submitting the textarea value to an action

Reported by: phaedrus Assigned to: jf.hovinne
Priority: major Milestone:
Component: Editor Version: trunk
Keywords: Cc:

Description

First, I couldn't find any examples which actually submitted the textarea value somewhere -- I assume that adding 'name="foo"' to the textarea element and adding an action attribute value to the form element should work; it does to some extent.

I've verified the following behavior on Firefox 3.0.1 and MSIE7, and I've verified this behavior against trunk and 0.5:

When I type text in the editor, and then press submit, no text is sent to my action.

When I type text, then click the "HTML" button at least once, and then submit, the text I've entered is sent to my action.

When I type text, then click the "HTML" button, then type more text, and then submit, only the original text is sent to the action.

In other words, the only way to submit text to the action is to click on the HTML button before submitting.

Am I missing something?

Change History

08/28/08 21:52:36 changed by phaedrus

Oops. I figured out my problem: I got my example HTML from branches/0.5/test/basic.html, where the class of the submit button was "wymsubmit" rather than "wymupdate". When I changed this text to "wymupdate", the behavior of the editor is as I expect.

It might be worthwhile to fix this problem at least in the 0.5 branch?

09/09/08 20:46:43 changed by jf.hovinne

  • status changed from new to closed.
  • resolution set to invalid.

0.5 is now in trunk, so branches/0.5 is quite old. Fix already applied in trunk. Thanks for the feedback.