(on Thursday, 25 September 2008, 06:05 PM +0200):
> > 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 ?
Um... I'm not seeing anything in the "content" value currently -- and if
you marked it as required, then an empty value would be invalid.
I'll try and do some tests later today.
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论