Widget view management refactoring.

Encolpe Degoute <[email protected]> Wed, 20 Sep 2006 16:55:52 +0200
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
hello,
Due to customer needing and some CPS remembering I create a branch based on 1.3
some monthes ago.
The goals were to create a *real* widget condition expression with full context
and move visibility mode into a tales expression too.
All is implemented and in production on complex documents (DatagridField,
CompoundField, ArrayField and AttachmentField) but it needs some attention: to
be able to switch between view, edit and search mode they have to present the
same macro API. This point breaks compatibility as I added a widget_body slot
in view mode. The others parts of the patch are optionnaly but for this one I
couln't find another solution.

Now I would complete the untitests and try to port this on next Archetypes major
release if nobody see a critical objection.

Regards,

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV