Auto Compete for Schema xml

Simon Richardson <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I have a dexterity type where the fields are defined in a model xml file.  I've created a reference and restricted this to certain type using object_provides.

I now want to enable the AutocompleteFieldWidget on my referenced field but don't know how to do this and also have the fields defined in the model xml file.

The dexterity developer manual seams to suggest using directives.widget in the interface but I just can't get this to work.  Has anyone managed to do this without reverting to defining the schema model entirely in code?

Simon

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.