On Sat, 2012-09-01 at 06:53 +1000, Dylan Jay wrote: > On 31/08/2012, at 5:44 AM, Sean Upton <sdup...@gmail.com> wrote: > > > On Thu, Aug 30, 2012 at 1:22 AM, Jean Jordaan <jean.jord...@gmail.com> > > wrote: > >> On Thu, Aug 30, 2012 at 1:59 PM, Dylan Jay <d...@pretaweb.com> wrote: > >>> > >>> http://plone.org/products/atvocabularymanager/ which has tree like > >>> vocabularies. This uses content types as terms. > >> > >> I'm fond of ATVocabularyManager. I like that vocabularies are content, > >> supporting all the normal stuff like cut'n'paste and sharing. > > > > I have had this notion for a while that there needs to be some kind of > > ability -- based on the content context -- to look up (flat and > > tree-like) terms (sources) from both user-curated taxonomies (as > > content, like ATVM) and from pluggable (named) utilities loading > > similar fixed/controlled vocabularies (MeSH, ICD9, NAICS, IPTC > > SubjectCodes, etc, etc) from add-ons on the filesystem. > > > > Any solution likely should support both sources in software-defined > > components and dynamic sources made from managed/curated content, or > > some kind of hybrid (e.g. baseline vocabulary is on the filesystem > > loaded from XML or CSV, and additions/modifications could take place > > on content -- maybe not the overkill of just bootstrapping ATVM with > > content/terms originally sourced from the filesystem). > > I don't know what you mean by lookup above but I'll going to presume > you mean attach to a widget in a content type edit form, or perhaps a > search form. > In which case there is a standard way to look up taxonomies in the > form of vocabularies. > http://plone.org/products/dexterity/documentation/manual/developer-manual/advanced/vocabularies > > I'm not yet sure if there is a standard way of representing tree like > structures using them but that should be easy to fix.
This is a solved problem. I recently ported the collective.dynatree widget to z3c.form (for use with dexterity types). https://github.com/syslabcom/collective.dynatree/commits/master I also had to create an ITreeVocabulary for zope.schema to make the dynatree widget work: http://svn.zope.org/zope.schema/trunk/src/zope/schema/vocabulary.py?rev=125654&view=markup JC _______________________________________________ Product-Developers mailing list product-develop...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-product-developers