Re: [fw-general] Instantiating custom decorators

2008-06-22 Thread Jerry McG
Rohit, There are three steps for creating a custom decorator. See where you are going wrong: Step 1: Create your decorator file Step 2: Place your decorator file in the decorator path. You can do this either by applying addPrefixPath() to each of your elements or the addElementPrefixPath()

[fw-general] Instantiating custom decorators

2008-06-20 Thread Rohit83
Hi I have written one class named Composite ,in which i have written the custom decorators, shall i instantiate this class like $decorator = new decorator_Composite(); as we do for $decorator = new Zend_Form_Decorator_Label(); and if i do this and apply decorators to some of the elements of