2008年9月30日星期二

[fw-mvc] [Zend_Form] Bad adress in

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org

iEYEARECAAYFAkjiW9AACgkQsxtAFVfnNCTYRwCg4cDvMNHZhAicIFz+hV6kIwfx
W8YAnRpK/66fm4H+TOqhJbj2aw17MqZa
=d3a6
-----END PGP SIGNATURE-----
Hi all,

now I'm playing and testing example from
http://framework.zend.com/docs/quickstart/ (so official quickstart), bud
I have problem now.

When I try post form, so I get error message that
guestbook/sign(controller/action) isn't right.

The URI to the public direcoty of my example is
http://localhost/mvc-zend-test/public/index.php

Of course I have set up:
$frontController->setBaseUrl('/mvc-zend-test/public');


And I have tried:
$this->setMethod('post')
->setAction('different addresses');

And in my .htaccess, which is in directory /mvc-zend-test/public/ I have
set up this too:
RewriteBase /mvc-zend-test/public

I except, that Zend_From take over the base address from which is set in
Zend_Controller_Front,
Ocekaval jsem, ze Zend_Form se zaridi podle adresy nastavene ve
Zend_Controller_Front which would be logical behavior, but he ignores it.

How can I resolve this problem ?

Thank You for advises and suggestions.

--
-------------------------------------------------------------------
--== Silver Zachara ==--
- pgp - http://radeonvmod.ic.cz/keys/silver.zachara@gmail.com.asc -

没有评论: