[fw-general] How can I insert class name for Zend Navigation generated menu?

2010-03-16 Thread Enkhbilguun Erdenetsogt
Hello, I'm generating my menu with Zend_Navigation. I would like to give a class name 'last' for the last unordered list's list element as shown below: Element 1 Element 2 The Zend Container generator looks like: === foreach ($menuItems as $item) {

Re: [fw-general] Creating a Zend_Service_* Component

2010-03-16 Thread Pádraic Brady
Hi Shaun, From the recurring API endpoint names, I'd suggest breaking the API across a series of categorised classes. It's the simplest means of dissecting the API, building concrete implementations, and testing them. From there, with a few of these, you can build up some picture of what the pa

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Andrew Ballard
On Tue, Mar 16, 2010 at 5:08 PM, Matthew Weier O'Phinney wrote: > -- Cristian Bichis wrote > (on Tuesday, 16 March 2010, 10:29 PM +0200): >> Please let me explain again the bug. >> >> The HeadLink plugin is searched through all the possible paths. This >> includes also the: >> >> D:\_Work\myapp/a

[fw-general] N00bie tips = karma

2010-03-16 Thread monk.e.boy
OK, we all believe in karma ;) So comment somewhere in the ZF docs with your n00bie tip and get free cosmic Karma from me :) Here's mine: http://framework.zend.com/manual/1.10/en/zend.controller.request.html monk.e.boy -- View this message in context: http://n4.nabble.com/N00bie-tips-karma-t

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Matthew Weier O'Phinney
-- Cristian Bichis wrote (on Tuesday, 16 March 2010, 10:29 PM +0200): > Please let me explain again the bug. > > The HeadLink plugin is searched through all the possible paths. This > includes also the: > > D:\_Work\myapp/application/modules\articles/views\helpers/HeadLink.php But look at the p

Re: [fw-general] problem with Zend_Registry and ArrayObject with PHP 5.2.3

2010-03-16 Thread Matthew Weier O'Phinney
-- water wrote (on Tuesday, 16 March 2010, 01:28 PM -0700): > I have the feeling this is specific to our php build (version 5.2.3 and don't > have this problem with PHP 5.2.5 nor 5.2.8) (not minor version) as I don't see > much when I google the specific error but I am getting this notice: > > No

[fw-general] Creating a Zend_Service_* Component

2010-03-16 Thread Shaun Farrell
I have been working on creating some Zend_Service components and I am trying to figure out the best way to break out my methods. Do I write one long class or do I break out the sections of the API into multiple classes. Take flickr for an example. There are a lot of API calls. flickr has them g

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Cristian Bichis
Please let me explain again the bug. The HeadLink plugin is searched through all the possible paths. This includes also the: D:\_Work\myapp/application/modules\articles/views\helpers/HeadLink.php But since the file HeadLink.php of course that is not into D:\_Work\myapp/application/modules\ar

[fw-general] problem with Zend_Registry and ArrayObject with PHP 5.2.3

2010-03-16 Thread water
I have the feeling this is specific to our php build (version 5.2.3 and don't have this problem with PHP 5.2.5 nor 5.2.8) (not minor version) as I don't see much when I google the specific error but I am getting this notice: Notice: Use of undefined constant parent::ARRAY_AS_PROPS - assumed 'pa

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Matthew Weier O'Phinney
-- Cristian Bichis wrote (on Tuesday, 16 March 2010, 10:14 PM +0200): > I think you missing the point. > > is_readable is returning false because the the supposed > /D:_Work\myapp/application/modules\articles/views\helpers/HeadLink.php > doesn't actually exists (HeadLink is on ZF NOT on articles

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Hector Virgen
Don't you mean "true" negative? :) If the file is not within the basdir, wouldn't that mean it's unreadable by PHP? -- Hector On Tue, Mar 16, 2010 at 1:07 PM, Matthew Weier O'Phinney wrote: > -- Cristian Bichis wrote > (on Tuesday, 16 March 2010, 09:56 PM +0200): > > Speaking of autoloading on

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Cristian Bichis
Matthew, I think you missing the point. is_readable is returning false because the the supposed /D:_Work\myapp/application/modules\articles/views\helpers/HeadLink.php doesn't actually exists (HeadLink is on ZF NOT on articles module)... The problem is not related to open_basedit then... Loo

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Matthew Weier O'Phinney
-- Cristian Bichis wrote (on Tuesday, 16 March 2010, 09:56 PM +0200): > Speaking of autoloading on 1.10.1+, anyone checked for a potential > better implementation/fix for this ? > > http://framework.zend.com/issues/browse/ZF-9306 > > Since is quite an annoying bug... Have you looked at the isRe

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Cristian Bichis
Hi, Speaking of autoloading on 1.10.1+, anyone checked for a potential better implementation/fix for this ? http://framework.zend.com/issues/browse/ZF-9306 Since is quite an annoying bug... -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks

[fw-general] Re: Call for review of multiple patches for Zend_Form

2010-03-16 Thread alab
> Yes -- was waiting for an email such as this one indicating you were at > a stage that they could be committed (I've seen a ton of revisions to > the patches the last few days). > > I'll review them Thursday, as part of this month's bug hunt days; that > way you'll also get credit for the resol

Re: [fw-general] Call for review of multiple patches for Zend_Form

2010-03-16 Thread Matthew Weier O'Phinney
-- alab wrote (on Tuesday, 16 March 2010, 11:19 AM -0800): > talking directly to you because you are the only maintainer of Zend_Form > at the moment. > > Would you please review and comment or commit the patches of > SubTasks 1 to 7 of Issue ZF-9350 in the Issue Tracker. > > If i have to refact

[fw-general] Call for review of multiple patches for Zend_Form

2010-03-16 Thread alab
Hello Matthew, talking directly to you because you are the only maintainer of Zend_Form at the moment. Would you please review and comment or commit the patches of SubTasks 1 to 7 of Issue ZF-9350 in the Issue Tracker. If i have to refactor the order or dependencies of the patches, let me know,

Fwd: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread scs
I think my message refused due to the migration. -- Forwarded message -- From: scs Date: Tue, Mar 16, 2010 at 3:42 PM Subject: Re: [fw-general] ZF 1.10+ paths, installs and autoloading To: fw-general@lists.zend.com Hello, It have just heard this "Selecting a Zend Framework vers

[fw-general] test; please ignore

2010-03-16 Thread Matthew Weier O'Phinney
Testing to see if list server migration is complete; please ignore -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

[fw-general] Set values in dojo multiselects

2010-03-16 Thread Ralf Eggert
Hi, unfortunately the Dojo MultiSelect Dijit is not supported yet. To implement this support I created a form element: class My_Form_Element_MultiSelect extends Zend_Dojo_Form_Element_FilteringSelect { public $helper = 'MultiSelect'; protected $_registerInArrayValidator = false; } I also

[fw-general] Zend_Dojo_Data with compound keys

2010-03-16 Thread Guillaume ORIOL
Hi, Looking at Zend_Dojo_Data.php, I realized I couldn't define a compound identifier. public function setIdentifier($identifier) { if (null === $identifier) { $this->_identifier = null; } elseif (is_string($identifier)) { $this->_identifier = $id

Re: [fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-16 Thread Matthew Weier O'Phinney
-- Mike A wrote (on Monday, 15 March 2010, 07:41 PM -0800): > Asking this because I've researched for a week but remain unclear. I need to > know not only for projects but to help newcomers in a book chapter currently > under authorship. Before asking I have set up a test project having access > t

[fw-general] Using an external database for user credential

2010-03-16 Thread Sergio Rinaudo
Hello, I am in a situation where I have to use an external database to check credential for user. Is there any right way to do this in the application ini? I thoughts something like resources.db2.adapter = // external db adapter resources.db2.params.host = // external db host resources.d

[fw-general] Zend_Form upload file

2010-03-16 Thread Jacky Chen
Hi, i have found that Zend_Form_Element_File ignore no file option would not work if the form that submited is missing that file element. let's say,there is a form that upload a file to the server, any text: upload file: and the Zend_Form as this, addElement($any); $uploadFile = new

[fw-general] Re: custom error messages for Zend Form Multicheckbox

2010-03-16 Thread smritiman
There is way by which you can do it. [SERVER SIDE VALIDATION] step 1 : - make it using for loop step 2 : Post it step 3 : Do validate using for loop sudo pattern : $i=0; foreach($this->getRequest()->getPost('custid') as $id )

[fw-general] Re: Zend Form adding and removing elements from controller

2010-03-16 Thread jagalan
I think you are using $form->addElement() in a worng way, the API says the following: $element may be either a string element type, or an object of type Zend_Form_Element. If a string element type is provided, $name must be provided, and $options may be optionally provided for configuring the ele