Re: [fw-general] Zend_Dojo_Data - Only arrays and objects may be attached

2009-05-18 Thread Nico Edtinger
afx114 wrote: Error: Only arrays and objects may be attached #0 /usr/share/php/ZendFramework-1.8.1/library/Zend/Dojo/Data.php(114): Zend_Dojo_Data-_normalizeItem(' {ver: 1, or...', NULL) #1 /home/account/application/default/controllers/ OrgsController.php(78): Zend_Dojo_Data-addItem(' {ver:

[fw-general] What version of APC are you use?

2009-05-18 Thread Georgy Turevich
Hello. Now APC (http://pecl.php.net/package/APC) has 3.0.19 stable version. But it's already 1 year and save compability with php4. Who use 3.1.* version on production with ZF? It is stable? -- Georgy

Re: [fw-general] Menu in ZF: Controller Plugin with postDispatch method

2009-05-18 Thread Andrei Iarus
Hello to everyone,   I have got a problem (or a bug?) with the Zend_View component. I have this front controller plugin: class My_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract { protected $_stack; public function dispatchLoopStartup( Zend_Controller_Request_Abstract $request

Re: [fw-general] Menu in ZF: Controller Plugin with postDispatch method

2009-05-18 Thread Andrei Iarus
I forgot to mention that the controllers of the 2 modules are dispatched, but only the same view gets rendered. --- On Mon, 5/18/09, Andrei Iarus poni1...@yahoo.com wrote: From: Andrei Iarus poni1...@yahoo.com Subject: Re: [fw-general] Menu in ZF: Controller Plugin with postDispatch method To:

[fw-general] Zend_Service_LiveDocx - Read for review

2009-05-18 Thread Jonathan Maron
Hello list After much work, Zend_Service_LiveDocx is ready for review. Zend_Service_LiveDocx is the Zend Framework implementation of the SOAP LiveDocx service. Using LiveDocx, developers can programamtically merge structured data from PHP with templates created in a word processor (MS Word,

[fw-general] Zend_Amf Is setClassMap necessary?

2009-05-18 Thread J DeBord
Somehow I am under the impression that using $server-setClassMap() is not necessary if you use the $_explicitType var in you php class and you have added the correct directories to the $server. I am not experiencing this however. So, is setClassMap absolutely necessary? What is the best way to

[fw-general] How to use MultiCheckbox for rendering hyerarchical data?

2009-05-18 Thread Sergio Rinaudo
Dear List, I need to render a multicheckbox that represents my hyerarchical 'categories' database table, so display catagories, sub categories and so on. I've read the documentation '23.6.8. Zend_Form_Element_MultiCheckbox', but what I've got is how to render only root categories. Is there a

RE: [fw-general] How to use MultiCheckbox for rendering hyerarchical data?

2009-05-18 Thread Sergio Rinaudo
Ok, I'll reply to myself, I just need to pass all my categories as 'multiOptions' array. My question now is, is there any method to pass a class to each element? Thanks Sergio Rinaudo From: kaiohken1...@hotmail.com To: fw-general@lists.zend.com Date: Mon, 18 May 2009 16:26:09 +0200 Subject:

[fw-general] php|tek and hackathon

2009-05-18 Thread Matthew Weier O'Phinney
Hey, all -- I'm presenting at and attending php|tek this week: http://tek.mtacon.com/ If you'll be there as well, I'd love to meet you and find out what *you* are doing with Zend Framework. Additionally, there is a Hackathon scheduled to run in parallel with the unconference, which is

Re: [fw-general] How to use MultiCheckbox for rendering hyerarchical data?

2009-05-18 Thread Eugene Morgan
If you want to add the same class for each checkbox, just do this: $formElement-setAttrib('class', 'the-class-name'); On Mon, May 18, 2009 at 9:37 AM, Sergio Rinaudo kaiohken1...@hotmail.comwrote: Ok, I'll reply to myself, I just need to pass all my categories as 'multiOptions' array. My

[fw-general] RFC: ZendX_Doctrine_Application_Resource_Doctrine

2009-05-18 Thread Matt Lurz
I haven't yet submitted the CLA but intend to soon. In the meantime, since it is recommended on the proposers wiki, I thought I would attempt to gather comments concerning this resource plugin which is intended to provide most of the conveniences necessary to instantiate Doctrine and configure

[fw-general] What version of APC are you use?

2009-05-18 Thread Georgy Turevich
Hello. Now APC (http://pecl.php.net/package/APC) has 3.0.19 stable version. But it's already 1 year and save compability with php4. Who use 3.1.* version on production with ZF? It is stable? -- Georgy

Re: [fw-general] Zend_Dojo_Data - Only arrays and objects may be attached

2009-05-18 Thread afx114
Nico Edtinger-3 wrote: Your backtrace has a string as parameter for addItem(), so it can't be an array. Interesting, because when I do a print_r($decodedJson) it prints an array, and when I do var_dump(is_array($decodedJson)) the output is bool(true). Also interesting that it works on

[fw-general] Living with bugs in ZF?

2009-05-18 Thread lightflowmark
Hi, How do you guys handle unfixed bugs in ZF? Suppose you're working on a project, and some genuine bug in a ZF component prevents it working for your use-case. It's a fairly simple fix, this issue is on the issue tracker, but it won't be fixed by Zend until the next version (at the earliest)

Re: [fw-general] How to use MultiCheckbox for rendering hyerarchical data?

2009-05-18 Thread Daniel Latter
Hi, I needed somthing like this, I just created my own tree form element, At the moment the class extends multicheckbox element so I just need to pass it an array, for example All my categories, I also created an associated view helper for the element. The view helper uses a recursive

Re: [fw-general] Living with bugs in ZF?

2009-05-18 Thread keith Pope
Write a patch, this way you can re-patch the files if there is another release. Plus you can upload the patch to the ticket and hope it will get applied :) 2009/5/18 lightflowmark 1...@lightflowinterrupted.com: Hi, How do you guys handle unfixed bugs in ZF?  Suppose you're working on a

Re: [fw-general] Living with bugs in ZF?

2009-05-18 Thread till
On Mon, May 18, 2009 at 8:12 PM, keith Pope mute.p...@googlemail.com wrote: Write a patch, this way you can re-patch the files if there is another release. Plus you can upload the patch to the ticket and hope it will get applied :) We pretty much do the same that Keith suggested. That's the

Re: [fw-general] How to find my Zend Version

2009-05-18 Thread kodevicious
To find the version you are running.../Library/Zend/Version.php -- View this message in context: http://www.nabble.com/How-to-find-my-Zend-Version-tp23574907p23605575.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Living with bugs in ZF?

2009-05-18 Thread Eric Coleman
Not sure what the official answer is, but I would think it would be along the lines of: 1) Write a patch to fix the broken code 2) Write a patch for the relevant test, adding a test case if there isn't one.. (Or maybe a test case referencing the ticket number?) 3) Attach to the issue Maybe after

[fw-general] Zend_Cache_Backend_Memcached - increment / decrement

2009-05-18 Thread Dylan Arnold
It appears that the memcached backend doesn't have increment or decrement methods. Were these deliberately left out? I'm just curious. It isn't a problem to add them myself. Cheers Dylan

[fw-general] howto find a method

2009-05-18 Thread Mike Wright
Hi all, Is there any glossary or index that allows finding a method and/or its associated class? Sure would make life easier, especially for those not already immersed in the framework :D Thanks for any insight, Mike Wright

[fw-general] About PDO update method

2009-05-18 Thread mysticav
I was looking the PDO update method which is explained in Zend Framework: Documentation Example 15.22. Updating Rows But I can't see the way to define a Join statement. Let's say I need to define the following query: UPDATE foo JOIN bar ON foo.id = bar.id SET active=1 WHERE bar.status=1 --

[fw-general] Does Zend_Json_Expr work?

2009-05-18 Thread Deanna Bonds
I tried enabling Zend_Json::$useBuiltinEncoderDecoder = true; and using json context switching. When ever I try to send an Zend_Json_Expr('js code here'); it comes out handler:{__className:Zend_Json_Expr} in the output. I have tried disabling multibyte utf-8 settings. I tried moving

Re: [fw-general] howto find a method

2009-05-18 Thread Sudheer Satyanarayana
Mike Wright wrote: Hi all, Is there any glossary or index that allows finding a method and/or its associated class? Sure would make life easier, especially for those not already immersed in the framework :D http://framework.zend.com/docs/api Is that what you are looking for? -- With