Re: ArchGenXML: Patch to support ordering of ReferenceFields created by associations

Matt Hahnfeld <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
On Tue, 28 Feb 2006 10:09:51 -0500, Matt Hahnfeld wrote:
>> The attached patch implements support for the "next_field" tagged
>> value on any attribute or association end.  This is one way to resolve
>> the infamous issue in UML/ArchGenXML that doesn't allow reference
>> fields created through associations to be ordered within the generated
>> schema.
> 
> 
> By the way, the patch is available for download here:
> http://plone.org/products/archgenxml/issues/29

There is now a new API, supporting moving fields before and after other
fields, moving fields to the top or bottom, or moving fields to a
particular location (numeric).  You can also move fields within "merged"
schemas (ie. if you get a schema from an inherited class, you can move
your fields into that schema).  The move functionality is now implemented
via schema moveField() per jensens' suggestion.

Any feedback?

Enjoy!

Matt Hahnfeld
[email protected]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
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.