Remove title attribute from schema by ArchGenXML

Jean Rodrigo Ferri <jeanrodrigoferri-/E1597aS9LRfJ/[email protected]> Fri, 23 Jun 2006 12:18:26 -0300
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Hello,

Frequently we need to remove the title attribute from schema because it 
is not necessary in all use cases. Today it's possible writing some 
lines of code like:

MyClass_schema['title'].required = 0
MyClass_schema['title'].widget.visible = {'view':'invisible', 
'edit':'invisible'}

And then in the class:

def Title(self):
     return self.getSome_attribute()

But I thougth to do it in a more single way, just using a tagged value 
in model, package or class, something like 'remove_title_attribute=1'. 
Should I implement this feature? Some idea?

Regards,

-- 
Jean Ferri

		
_______________________________________________________ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://mail.yahoo.com.br/


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642