[fw-general] Re: Usage of Zend_Validate with Zend_Form

2010-07-26 Thread tridem-dojo
A good way is to create a model that has a method that does the validation. In the controller you could handle the request this way: public function saveAction() { if (!$this-getRequest()-isPost()) { return $this-_helper-redirector('index'); } if (false ===

[fw-general] Re: How do i setup Autoloading of PHP 5.3 namespaced classes and specify a base path?

2010-07-26 Thread jiewmeng
i think u misunderstood me. i meant that with Doctrine 2 i can use $classLoader = new \Doctrine\Common\ClassLoader('Doctrine\ORM', realpath(__DIR__ . '/../../lib')); to tell the class loader to look for classes under the Doctrine\ORM namespace under a path. how do i do the same in Zend

[fw-general] Re: How do i setup Autoloading of PHP 5.3 namespaced classes and specify a base path?

2010-07-26 Thread Wil Moore III
jiewmeng wrote: to tell the class loader to look for classes under the Doctrine\ORM namespace under a path. how do i do the same in Zend Framework? With Zend Framework, you only need to give the autoloader your namespace and you are good to go. autoloaderNamespaces[] = Doctrine

[fw-general] Zend_Form elements validating

2010-07-26 Thread sabri sahin can
Hi, I'm very new in zend framework and web developing. I'm currently writing a zend_form for a registration page of a web site. Here is my code for adding a text element for email address: http://pastie.org/1060337 In this email field i want to put EmailAddress validator, however there are many

[fw-general] Re: Zend_Navigation - submenu item pointing to other menu renders both submenus

2010-07-26 Thread tonystamp
Has no-one else had this problem? I'm tempted to report it as a bug, but would prefer some feedback first. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Navigation-submenu-item-pointing-to-other-menu-renders-both-submenus-tp2301072p2302359.html Sent