Skip to content

Correspondence Technologies

Sections
Personal tools
You are here: Home » Software » SfIndex Demo » collective - ProductSite

Package: collective - ProductSite

a test of SfIndex product

Sourceforge Info

Project Name: collective
Package Name: ProductSite
Files Page:
Browse CVS: http://cvs.sourceforge.net/viewcvs.py/collective/ProductSite/  

Package README (CVS ver. 1.1.1.1)

This product defines a site and types for Zope/Plone packages.

This product requires a version of Archetypes with the 'process_form' hook.
This does not include 1.0.1. This version requires a patch to Archetypes. It
follows::

[Products/Archetypes/BaseObject._processForm]
        form_keys = form.keys()

        for field in fields:
+            # JCC MOD...
+            try: # act like newer version if necessary
+                _marker = []
+                widget = field.widget
+                result = widget.process_form(self, field, form,
empty_marker=_marker)
+
+                if result is _marker or result is None: continue
+
+                # Set things by calling the mutator
+                mutator = field.getMutator(self)
+                __traceback_info__ = (self, field, mutator)
+                mutator(result[0], **result[1])
+                continue
+            except AttributeError:
+                pass
+                # ...END MOD

            if field.getName() in form_keys or "%s_file" % field.getName() in
            form_keys:
                text_format = None
 

Powered by Plone

This site conforms to the following standards: