Re: Remove title attribute from schema by ArchGenXML

Martin Aspeli <[email protected]> Tue, 27 Jun 2006 22:39:21 +0100
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Bill de hÓra wrote:
> Martin Aspeli wrote:
> 
>> You can of course also replace them with a ComputedField with the same id if
>> you need more complex calculations or a different storage.
> 
> What's the recommended approach to replace/override a core field like this?

Just include another one in your schema with the same name/id, e.g. 
'title' in your case. Make sure you keep the same accessor method if a 
custom one is given (accessor='Title' in this case).

Martin


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