[fw-general] Zend Validations not working properly in FastCGI

2009-08-17 Thread naveed83
Hi, I am facing a very strange problem in zend input filter validations. I have a form on my page, some fields are mandatory and some are not. Form works fine when PHP is configured as ISAPI, but when PHP is configured as FastCGI, it applies the mandatory validation on all the fields. Please note

[fw-general] Custom Router Question

2009-08-17 Thread milesap
Hello everyone! I've setup a custom router in my bootstrap file which overrides the default router. Basically, all links on my website require a company name like: http://www.example.com/dellcomputers/controller/action This is achieved via this function in my bootstrap file: protected function

Re: [fw-general] Zend_Mail Zend_Mail_Transport_Exception

2009-08-17 Thread sinu_reddi
Hi Jerry, I'm facing similar issue as you were. Can you pls tell me the steps you have followed to setup the SMTP transport and anything else you might have done to solve this. Thanks, Srinivas -- View this message in context: http://www.nabble.com/Zend_Mail-Zend_Mail_Transport_Exception-tp1707

[fw-general] PHP 5.3 breaks Zend_Tool?

2009-08-17 Thread Phillip Winn
I have a home directory shared between a server running PHP 5.2.6 and a server running PHP 5.3. I have downloaded 1.9.0 and extract the tgz archive. Now I'm attempting to run the new Zend_Tool script, zf.sh. On the PHP 5.2.6 system, everything is fine: pw...@webdev03:~$ php -v PHP 5.2.6 (cli) (bui

Re: [fw-general] Best practice for configuration data

2009-08-17 Thread Inash Zubair
Hi. Does any body have a best practice about this? I've also have a couple questions to add: - I'm unable to access the front controller from the action controllers unless i get a reference to the bootstrap through the getInvokeArg. - How can i access the global configuration (application.ini) mor

Re: [fw-general] [fw-mvc] - Zend_Config_Xml with attributes

2009-08-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vibhor Singh wrote on 17.08.2009 13:13: > Now suppose I want to access data under this node(), > then how should I do this using the Zend_Config_Xml object. > > Can someone please help me in this? Any help would be greatly appreciated. $config->items

[fw-general] Zend_Validate_* Help

2009-08-17 Thread Shawn Iwinski (siwinski)
I am having issues using the Zend_Validate_* classes. For all of the validation classes that I have been using, I have been getting an "Invalid type given, value should be float, string, or integer" error. Please see my sample/test using Zend_Validate_Float below. This should not be the error for

[fw-general] How do I check from an action if a URL is 404 ?

2009-08-17 Thread debussy007
Hi, from an action, I would like to test for example if a url e.g. '/hello/world/index' returns a 404 (not found) (also if it returns an error if possible). Thank you for any help !! -- View this message in context: http://www.nabble.com/How-do-I-check-from-an-action-if-a-URL-is-404---tp250118

Re: [fw-general] How do I set multiple paths for Modules?

2009-08-17 Thread Nomolos Sharpe
Thanks Matthew. How can I do it the Zend_Applicaiton INI way? When I set the module directory it appears that the last one wins. e.g. resources.frontController.moduleDirectory = APPLICATION_PATH "/modules1" resources.frontController.moduleDirectory = APPLICATION_PATH "/m

RE: [fw-general] using multiple validators of the same type on a single field

2009-08-17 Thread Joe Czhlobatnik
> In this particular case, I'd create a Zend_Validate object and attach > several Db_(No)RecordExists validators to it -- then attach the master > object to your form. This gives you the benefit of multiple validators > and eliminates the need for Aliases. > > $chain = new Zend_Validate();

Re: [fw-general] Best practice for configuration data

2009-08-17 Thread J DeBord
I created a Config Resource and a separate config.ini file for site configuration params not related to Zend_Application : _configFile = APPLICATION_PATH . '/configs/config.ini'; return $this->getConfig(); } public function getConfig() { if ($this->_config === null) {

Re: [fw-general] using multiple validators of the same type on a single field

2009-08-17 Thread Matthew Weier O'Phinney
-- Joe Czhlobatnik wrote (on Monday, 17 August 2009, 10:05 AM -0400): > > > It seems that it's not possible to alias validators in the manner one can > alias > > > decorators. Is there any way to use multiple validators of the same type > > > on > a > > > single field without extending the class

Re: [fw-general] Best practice for configuration data

2009-08-17 Thread J DeBord
I'm just starting to figure out how Zend_Application works and I immediately had the same questions. If I move what was previously in my Zend_Config object stored in Zend_Registry to the application.ini file I use with Zend_Application, how can I access the values in the application.ini file. Thin

RE: [fw-general] using multiple validators of the same type on a single field

2009-08-17 Thread Joe Czhlobatnik
> > It seems that it's not possible to alias validators in the manner one can > > alias > > decorators. Is there any way to use multiple validators of the same type on > > a > > single field without extending the class to rename it? > > Can you present a use case? > > Validators (and filters

[fw-general] Re: [fw-mvc] Re: [fw-general] Calling Dojo

2009-08-17 Thread 'Matthew Weier O'Phinney'
-- Naimesh.Trivedi (Gmail) wrote (on Monday, 17 August 2009, 04:52 PM +0530): > 1) Can you please give some example on your following saying : > > > > “This allows me to both do initial display of the forms from my application > views as well > as to fetch them dynamically using XHR -- which c

[fw-general] Re: [fw-mvc] Re: [fw-general] Dojo Ediion in Zend framework 1.9

2009-08-17 Thread 'Matthew Weier O'Phinney'
-- Naimesh.Trivedi (Gmail) wrote (on Monday, 17 August 2009, 04:12 PM +0530): > a) Is there any way we can check which version is there of Dojo in > /zend/library/dojo and /externals/dojo in Zend framework 1.9 ? You can check dojo.version within FireBug. However, it's showing "1.3.0dev (16807)" -

[fw-general] Error with Validate form

2009-08-17 Thread danieldeveloper
Hello my friends, i have a problem with my form, he isn't vaidate before to save in DB... My form here: setAction( '' ); /** * Configura o método de envio */ $this->setMethod( 'POST' ); /** * Configura o campo: company_name */

[fw-general] Re: ZF Download 1.9.1

2009-08-17 Thread Colin Guthrie
'Twas brillig, and Ralph Schindler at 13/08/09 15:01 did gyre and gimble: This happens. Generally, our process for launching a new version of ZF takes a few hours from start to completion. You probably saw this during the beginning of the phase of deploying the new packages. Think of it like

Re: [fw-general] New Router Question

2009-08-17 Thread Matthew Weier O'Phinney
-- Sergio Rinaudo wrote (on Monday, 17 August 2009, 01:58 AM +0200): > how to instance dispatcher and request objects in the bootstrap? class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initRouter() { $this->bootstrap('FrontController'); $f

Re: [fw-general] Download numbers for ZF

2009-08-17 Thread Matthew Weier O'Phinney
-- Ralf Eggert wrote (on Saturday, 15 August 2009, 08:18 AM +0200): > does anyone have any more detailled numbers about the download count for > the ZF? This page seems a bit out of date: > > http://framework.zend.com/about/numbers > > I am looking for the download count since the first release

Re: [fw-general] using multiple validators of the same type on a single field

2009-08-17 Thread Matthew Weier O'Phinney
-- Joe Czhlobatnik wrote (on Friday, 14 August 2009, 12:10 AM -0400): > It seems that it's not possible to alias validators in the manner one can > alias > decorators. Is there any way to use multiple validators of the same type on a > single field without extending the class to rename it? Can y

Re: [fw-general] 1.9.x blues (was: [fw-general] Zend_Search_Lucene broken after upgrade to 1.9.0)

2009-08-17 Thread Matthew Weier O'Phinney
-- till wrote (on Thursday, 13 August 2009, 06:36 PM +0200): > On Thu, Aug 13, 2009 at 6:22 PM, Ralph > Schindler wrote: > > Ralf, hard to diagnose from the backtrace, it looks like you were overriding > > Zend_Search_Lucene with Interpersonal_Search_Lucene, whats going on in the > > constructor t

RE: [fw-general] Multiselect form element and validation

2009-08-17 Thread Sergio Rinaudo
Thank you very much for this example, it helped me understand the way to do it. Bye! Sergio Rinaudo > Date: Sun, 16 Aug 2009 20:58:01 -0700 > From: jo...@accentwebdesign.nl > To: fw-general@lists.zend.com > Subject: Re: [fw-general] Multiselect form element and validation > > > I don't think

[fw-general] RE: [fw-mvc] Re: [fw-general] Calling Dojo

2009-08-17 Thread Naimesh.Trivedi (Gmail)
Dear Matthew, Hello ! Thanks for the clarity. 1) Can you please give some example on your following saying : "This allows me to both do initial display of the forms from my application views as well as to fetch them dynamically using XHR -- which can be *very* fast. I've then created

[fw-general] [fw-mvc] - Zend_Config_Xml with attributes

2009-08-17 Thread Vibhor Singh
Hi all, I want to use Zend_Config_Xml feature of ZF to automate my system. I am curious to know whether Zend_Config_Xml is able to read custom attributes of any xml file. If so, can someone please let me know how can this be achieved? My xml file would look something like this:

[fw-general] RE: [fw-mvc] Re: [fw-general] Dojo Ediion in Zend framework 1.9

2009-08-17 Thread Naimesh.Trivedi (Gmail)
Dear Matthew, Hello ! Thanks for the guidance. a) Is there any way we can check which version is there of Dojo in /zend/library/dojo and /externals/dojo in Zend framework 1.9 ? b) I copied dojo 1.3.2 in my application downloading from dojo website, but /zend/library/dojo still is same came with