Skip to main content

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.

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).

    • SimpleDataGridField. A lines field with embedded vertical bars for fields. If the columns property is set, the isValidGrid validator will ensure that the entered text has exactly that number of columns for each row. If strip_whitespace is True, the individual cells in the grid will be stripped of leading and trailing whitespace (that is, whitespace added around the delimiter).

      If column_names is set to a tuple or list of strings, it gives the names of columns in the grid. The getDataGridRow script and the getRow() method will return a dict using these column names as keys rather than using the column numbers (starting from zero). Fields are just strings, with no internal validation, etc.

  • Matching widgets for these types

  • Validators:

    • FormattedUSPhoneValidator: (999) 999-9999

    • USAddressValidator

    • isValidGrid

Requires

Plone version 4.0 or higher.

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.

Changelog

1.7 (2012-06-25)

  • Package cleanup [aclark]

1.6 (2010-04-09)

  • Plone 4 compatible release. [kteague]

1.5 (2008-04-27)

  • Egg release of Products.ArchAddOn. [aclark]

1.0 (2007-04-04)

  • Initial release of ArchAddOn. [joelburton]

Metadata

Release files for Products.ArchAddOn 1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Products.ArchAddOn 1.7
File Size Uploaded
Products.ArchAddOn-1.7.tar.gz 643.4 kB Details

Release files / Products.ArchAddOn-1.7.tar.gz

Download URL Products.ArchAddOn-1.7.tar.gz
Size 643.4 kB
Tags Source
SHA-256 checksum
How to use checksums
699f8f095b2b5f4c62e3681e256cb14ea3c9af62c7f1900a45a313fdec8a5f6e
BLAKE2b-256 checksum
How to use checksums
4ad228b21f7fe843c177d44a23cc99e54ac1b7652b96f0a49591828ec99fc30f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.7 This release

1 release file

1.6

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page