Thanks Mon! I'll try it out and see what happens.
-Vibhor _____ From: Mon Zafra [mailto:mon...@gmail.com] Sent: Thursday, December 18, 2008 4:23 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] Confused about decorators You should put the My directory at the same level as Zend: library ---- Zend -------- Controller -------- Form, View, etc. ---- My -------- Decorator ------------ Composite.php -------- your other library classes, e.g. helpers, plugins, forms -- Mon On Thu, Dec 18, 2008 at 2:57 PM, vibhor singh <vib...@pivisions.com> wrote: Just to add I am getting the following error: Message: Plugin by name 'Composite' was not found in the registry; used paths: My_Decorator_: My/Decorator/ Zend_Form_Decorator_: Zend/Form/Decorator/:Zend/Form/Decorator/ _____ From: vibhor singh [mailto:vib...@pivisions.com] Sent: Thursday, December 18, 2008 12:00 PM To: fw-general@lists.zend.com Subject: [fw-general] Confused about decorators Hi all, I have just begun learning ZF. I have come across Decorators and am finding a bit difficult to grasp it. My question is where I need to put my new decorator class in the project folder. It looks like the following: vQuick -application -controllers -models -forms -views -public -library -Zend Following the Zend_Decorator example [http://www.zendframework.com/manual/en/zend.form.decorators.html] I have put the new file in : -library -Zend -Form -Decorator -My -Decorator -Composite.php Am I doing something wrong here? Can someone please help me with this. Thanks Vibhor No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date: 12/17/2008 7:21 PM No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.19/1856 - Release Date: 12/18/2008 8:06 PM