2008年9月25日星期四

RE: [fw-mvc] Zend_Dojo Editor (next)

> From: matthew@zend.com
> > // Dojo-enable the form:
> > Zend_Dojo::enableForm($this);
ok !
> First, you don't need to do the above line when extending
> Zend_Dojo_Form.

> Second, can you specify what you entered for the editor, and what data
> you received on the server side after submitting? Also, what browser did
> you use to submit?

I used both Firefox 3.0.1 and IE 7.0.6xxxx.
By the way, I discovered that using IE I can't even enter text in the editor (can't put my cursor inside it).

The data I entered was random text, random text and numbers, random text + numbers + spe chars.
Same behavior all the time.

Here's some information I added :
$form = new BlogPostForm();
$formData = $this->_request->getPost(); 
$var_dump($formData);
(...)
 Gives me this :         
array(4) { ["title"]=> string(7) "xbvcbvc" ["content"]=> string(0) "" ["date"]=> string(10) "2008-09-20" ["id"]=> string(0) "" } not valid form
 
So there is something in the content after all. But why isn't it valid ?
Z.

> I'm thinking the issue may be in the code used to push the Editor
> content into the hidden field via the form unsubmit event, but I need
> the above data to help verify.
>
> --
> Matthew Weier O'Phinney
> Software Architect | matthew@zend.com
> Zend Framework | http://framework.zend.com/


Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est gratuit !

没有评论: