Re: Remove title attribute from schema by ArchGenXML

Martin Aspeli <[email protected]> Fri, 23 Jun 2006 10:12:38 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>

Jean Rodrigo Ferri wrote:
> 
> 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?
> 

Bah... and then 'remove_descripion_atribute' and 'remove_whatever_else'? 

-1

The point is that these fields are there from Dublin Core metadata, and kind
of need to be there. You can of course delete them, but then you ought to
add your own Title() method for example to make sure your type still adheres
to the dublincore.

You can of course also replace them with a ComputedField with the same id if
you need more complex calculations or a different storage.

Martin
--
View this message in context: http://www.nabble.com/Remove-title-attribute-from-schema-by-ArchGenXML-t1836847.html#a5015721
Sent from the Archetypes - devel forum at Nabble.com.


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