decorators

Applying Class to Customer Zend Decorator

I found code that would change the standard dt and dd tags to table tags for a Zend_Form_Element. Here is the code I used: $element->setDecorators(array( 'ViewHelper', 'Errors', array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')), array('Label', array('tag' => 'td', 'class' => 'rightAlign')),...

In .Net, how do I decorate a class with an intellisense tip?

I want to be able to decorate classes and methods with the text that intellisense shows when you are instantiating the class or accessing a field. For example, I want to give usage instructions. I can't find the appropriate decoration for this. How do I do it? ...

ImportError when trying to import from module directory. (Django)

Imagine a classic Django directory structure. INSTALLED_APPS contains an entry pointing to "myApp". I have models, views, etc. in that directory and it works fine. I've created a file called decorators.py in that directory. In one of the views, I'm trying to import some of those decorators but I'm getting: ImportError at / No module na...