logo       

Schemata improvements: msg#00053

web.zope.plone.archetypes.devel

Subject: Schemata improvements

Hi all--

I have made a number of improvements to the way that base_edit renders when
you have multiple schemata in your schema. If you CVS up, be sure to either
update the navigation properties or uninstall and reinstall archetypes (see
below). Here's the summary from CVS.

* Made lots of improvements to the rendering of schemata:
- base_object.Schemata() now returns deterministically ordered schemata
- base_edit now has Previous / Next buttons
- content_edit has code to handle schemata transitions
- base_edit uses the portal_form_url script to get the form action

* Added the OrderedDict class to utils.py
- OrderedDict implements the UserDict interface but maintains an ordering
for the keys returned by keys() (and by items() and values()).
- Unit tests for OrderedDict are in test_utils2.py

*** Note: There is a new entry for navigation properties:
default.content_edit.next_schemata = action:edit
Uninstalling and reinstalling archetypes via the quickinstaller tool is the
easiest way to fix this. ***

Geoff





-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise