[fw-general] Re: Rendering nested submenu items from XML file

2010-04-08 Thread tonystamp
After reading the api it said that the submenu method is simply a proxy the renderMenu method with certain variables set. For some reason the api does not allow you to set properties on the call to the submenu method, which i would have thought would be forwarded to the renderMenu method. This was

[fw-general] Re: Get View object inside a controller plugin

2010-04-08 Thread Chris Trahey
umpirsky wrote: > > Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('view'); > Note that for this to work (I'm using 1.10), you need a bootstrap method named _initView that returns your view object. -- View this message in context: http://n4.nabble.com/Get-View-obje

[fw-general] Validators doesn't log messages when used with Zend_Validate_Abstract::setDefaultTranslator

2010-04-08 Thread Fabio Napoleoni
I would like to attach a translate instance with the log option to Zend_Validator in order to intercept all untranslated error message, however if I save a Zend_Translate(_Adapter) instance for the validators with the code below, the log works for the message foo and bar, but when I call a form wi

Re: [fw-general] Zend Framework 1.10.3 and 1.9.8 Released

2010-04-08 Thread Andrew Ballard
On Fri, Apr 2, 2010 at 7:58 AM, Matthew Weier O'Phinney wrote: > -- Cristian Bichis wrote > (on Friday, 02 April 2010, 09:45 AM +0300): >> Some of us we can't enjoy anymore any new releases due to one >> bug We are simply stuck at 1.10.0... >> >> http://framework.zend.com/issues/browse/ZF-930

Re: [fw-general] Re: Get View object inside a controller plugin

2010-04-08 Thread Саша Стаменковић
Are you sure? Regards, Saša Stamenković On Wed, Apr 7, 2010 at 10:37 PM, Chris Trahey wrote: > > > umpirsky wrote: > > > > > Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('view'); > > > > Note that for this to work (I'm using 1.10), you need a bootstrap method > name

Re: [fw-general] Re: Get View object inside a controller plugin

2010-04-08 Thread Jurian Sluiman
On Thursday 08 Apr 2010 15:58:25 Саша Стаменковић wrote: > Are you sure? No, that's not correct. To retrieve the resource, you need either an _init*() method or use a bootstrap plugin. The resource is initialized when you bootstrapped it (e.g. configured the resource in the application.ini). An

Re: [fw-general] Conceptual/Technical Question for Multiple Module App (ZF 1.10)

2010-04-08 Thread Ralph Schindler
I can help give you some perspective with regards to ZF 1.10, Zend_Application, and modules: I have a project structure like so: |- .zfproject.xml |- application | |- Bootstrap.php | |- configs | | `- application.ini | |- controllers | | |- ErrorController.php | | `- IndexController.php | |- mo

Re: [fw-general] zendc_db_adapter

2010-04-08 Thread Ralph Schindler
This adapter was shipped as part of Zend Core several versions ago before Zend Framework (Zend_Db_Adapter_Db2) was updated to include more i5 related functionality. I have used the Zend_Db_Adapter_Db2 for various i5 tasks, and I would suggest you start there to see how far that gets you. -ra

Re: [fw-general] problem with join and distinct

2010-04-08 Thread Ralph Schindler
It's hard to understand what the tables & relationships you are working with from your code. Could you perhaps create a reproduction scripts (http://ralphschindler.com/2010/02/18/the-anatomy-of-a-bug-issue-reproduction-script) that would help the community understand the tables, their relations

[fw-general] Where to issue final common logic

2010-04-08 Thread jsuggs
I'm wanting to do some cleanup commands (ex. issue Doctrine "flush") after all activity has completed (ie. no more [state] changes). Where is the most logical place to issue that command? Thanks! -- View this message in context: http://n4.nabble.com/Where-to-issue-final-common-logic-tp1788759p

Re: [fw-general] AMF - Hitting action prompts download box

2010-04-08 Thread Brenton Alker
On 8/04/2010 1:51 PM, Mark Steudel wrote: Using the same Flash code I was able to get this working where I just included the Zend library in a normal file, I wondering if there's something else I need to do in order to get AMF working so that it routes through the normal framework. Here's the co