[fw-general] Zend_Cache_Frontend_File and Zend_Cache_Backend_File

2008-09-08 Thread Christoph Dorn
Are there any plans to support multiple dependencies for Zend_Cache_Frontend_File instead of just one master file? How about the ability to have Zend_Cache_Backend_File just return the filename if the cache entry is valid instead of loading it? -- Christoph Dorn

Re: [fw-general] Basic dojo help and programmatic dojo example

2008-09-08 Thread Themselves
I've had the exact same problem as the OP - a node is undefined javascript error, when everything appears to be loading correctly. Here's my crack at it, basically as per http://www.roetgers.org/tag/zend-framework/. index.php -

Re: [fw-general] Zend_Dojo_Form - XHR-Post

2008-09-08 Thread Michael Gruschwitz
Matthew Weier O'Phinney: ? $this-dojo()-javascriptCaptureStart() ? var foobar = function() { // ... } ? $this-dojo()-javascriptCaptureEnd() ? In you form element, add the 'onclick' property: $element-onclick = 'foobar'; // or at instantiation:

[fw-general] problem with Zend_Form_Element_Captcha

2008-09-08 Thread PontoSI - Consultoria, Informática e Serviços LDA
Hi, I've made a form with several fields and a Zend_Form_Element_Captcha element (image based). When the form is submitted (via POST) using the submit button, if the captcha textbox is empty it will show the badCaptcha message as it is supposed to, but if I hit reload on the browser and confirm

Re: [fw-general] Dash in Zend_Form_Element Name

2008-09-08 Thread Bradley Holt
Matthew, Great - thanks for the help! On Sun, Sep 7, 2008 at 9:44 PM, Matthew Weier O'Phinney [EMAIL PROTECTED]wrote: -- Bradley Holt [EMAIL PROTECTED] wrote (on Sunday, 07 September 2008, 08:35 PM -0400): It appears that dash characters are not allowed in Zend_Form_Element names. For

[fw-general] Zend Element name % character

2008-09-08 Thread Martijn De Letter
Hi all, I tried to add field 'field%%' to an Element, but the % character is stripped from the name. The '%' character is stripped by the ^a-zA-Z0-9_\x7f-\xff regex in the filterName function. So why is the % character stripped from the name? According to the W3C standard a name attribute of

Re: [fw-general] Basic dojo help and programmatic dojo example

2008-09-08 Thread Matthew Weier O'Phinney
-- Themselves [EMAIL PROTECTED] wrote (on Monday, 08 September 2008, 12:04 AM -0700): I've had the exact same problem as the OP - a node is undefined javascript error, when everything appears to be loading correctly. Here's my crack at it, basically as per

[fw-general] Zend Framework on Ubuntu

2008-09-08 Thread Mario Guenterberg
Zend Framework 1.6.0 deb packages for Ubuntu Hardy Heron will be available tomorrow from http://packages.havelsoft.org. Feel free to use it on every debian based distribution. This package doesn't contains the externals and laboratory folders. I will maintain the package under my own control

[fw-general] Extending Zend_View_Helper_Json

2008-09-08 Thread Jake McGraw
Hello all, bit of a problem, not sure how to resolve it. We've developed a RESTful JSON API using Zend Framework MVC. The API makes heavy use of the Zend_View_Helper_Json object, each controller, which represents a separate resource does the following when its done processing:

Re: [fw-general] Extending Zend_View_Helper_Json

2008-09-08 Thread Jaka Jančar
Ahh, yes, this is the beauty of some ZF helpers, stuff just exit()'s =) It's the same in Redirector action helper... never mind if I still have stuff to do, it just terminates the script. I wouldn't put logging into the Json helper, that's ugly. I would however rewrite it, so it doesn't

Re: [fw-general] Extending Zend_View_Helper_Json

2008-09-08 Thread Jake McGraw
$this-getHelper('Json')-suppressExit = true; Chris, you saved me at least day from having to rewrite all those Controllers and testing, thank you so very much. - jake On Mon, Sep 8, 2008 at 2:24 PM, Jaka Jančar [EMAIL PROTECTED] wrote: Ahh, yes, this is the beauty of some ZF helpers, stuff

Re: [fw-general] Extending Zend_View_Helper_Json

2008-09-08 Thread Christoph Dorn
I just re-read your message and saw that you were referring to Zend_View_Helper_Json which does not exit and should work. Did you mean to say Zend_Controller_Action_Helper_Json? Christoph Jake McGraw wrote: $this-getHelper('Json')-suppressExit = true; Chris, you saved me at least day

Re: [fw-general] Extending Zend_View_Helper_Json

2008-09-08 Thread Jake McGraw
2008/9/8 Christoph Dorn [EMAIL PROTECTED]: I just re-read your message and saw that you were referring to Zend_View_Helper_Json which does not exit and should work. Did you mean to say Zend_Controller_Action_Helper_Json? Yes, that is it, running the following as my BaseController::init()

[fw-general] Zend_File_Transfer and filters

2008-09-08 Thread Thomas Weidner
Hy interested ones, Zend_File_Transfer supports now filters. Additionally the rename filter has already been added to trunk. See here http://www.thomasweidner.com/flatpress/2008/09/07/destination-and-renaming-of-uploaded-files/ for details. Greetings Thomas Weidner, I18N Team Leader, Zend

[fw-general] [Zend_Form] Advice needed

2008-09-08 Thread Thomas VEQUAUD
Hi guys, I'm trying to convert all my forms into Zend_Form objects: Zend_Form seems really powerful! But, for once, the Zend documentation is really poor about the subject and there are not enough examples and they're so so simple that I cannot get information I need to do what I want :

Re: [fw-general] Basic dojo help and programmatic dojo example

2008-09-08 Thread Themselves
Matthew Weier O'Phinney-3 wrote: -- Themselves [EMAIL PROTECTED] wrote (on Monday, 08 September 2008, 12:04 AM -0700): I've had the exact same problem as the OP - a node is undefined javascript error, when everything appears to be loading correctly. Here's my crack at it, basically

Re: [fw-general] [Zend_Form] Advice needed

2008-09-08 Thread Matthew Weier O'Phinney
-- Thomas VEQUAUD [EMAIL PROTECTED] wrote (on Monday, 08 September 2008, 10:42 PM +0200): I'm trying to convert all my forms into Zend_Form objects: Zend_Form seems really powerful! But, for once, the Zend documentation is really poor about the subject and there are not enough examples and

Re: [fw-general] File Element and isRequired

2008-09-08 Thread gerardroche
thanks, this one got me. thomasW wrote: Hy fellows, those of you using the file element with set isRequired to false recognised that there are still validation errors, which would have to be handled manually. This problem has been solved in trunk. Read details within here: