Package: collective - ArchAddOn
Straightforward toolbox of field types, widgets, and validators for Archetypes.
a test of SfIndex product
Sourceforge Info
| Project Name: | collective |
| Package Name: | ArchAddOn |
| Files Page: | |
| Browse CVS: | http://cvs.sourceforge.net/viewcvs.py/collective/ArchAddOn/ |
Package README (CVS ver. 1.1.1.1)
ArchAddOn
Straightforward toolbox of field types, widgets, and validators for
Archetypes.
Please feel free to add your own new fields, widgets, and validators
here, if you think they are general-purpose. I intend for this to be
not sample or learning archetypes add ons (ArchExample is for that),
but real-world usable toolbox pieces.
At this time, this requires the most recent CVS of Archetypes
(since that uses a new model for custom widget view macros). This
should become mainstream for Archetypes 1.3 branch and better.
Features
* New Fields for:
- USAddress
- USPhoneNumber
- Email
- Link
- Instruction (only shows description on edit form, for adding sectional
help or other HTML markup to an edit form)
- DynamicField. This is a textual field that can contain TALES
expressions which are evaluated. So you can add a "body" field to
a schema that is of this type, and have it be a mix of HTML content
and TALES expressions (just like in a ZPT).
* Matching widgets for these types
* Validators:
- FormattedUSPhoneValidator: (999) 999-9999
- USAddressValidator
Requires
Plone (tested with 2.0rc3)
CMF (tested with (1.4.3)
Zope (tested with 2.7.0b3)
Archetypes (tested with 1.3.0a; requires at least this version)
Quickstart
1) Use the quickinstaller_tool and install ArchAddOn
2) To create a sample object and test the new fields, widgets, etc.,
go to the archetype_tool and install the "ArchAddOn Example" type,
then add an object of that type.