Skip to main content

Detailed Documentation

RDB Action Adapter for PloneFormGen

The Action Adapter can be used to store form submissions of PloneFormGen forms into a relations database.

Dependencies

The Action Adapter users the IDatabase Utility from collective.lead to write data to the database. You must provide such an IDatabase Utility.

Configuration

After you installed the Action Adapter in the Plone Control Panel, you can start adding The Action Adapter to PloneFormGen forms.

The Action Adapter Configuration Screen contains two parameters:

Insert query

The query to insert data. We do not use the SQLAlchemy mapping features, but write data directly into the database. The fields from the form are added as a dictionary to the execute statement. See pep-0249 for formatting strings. As we pass a dict, you must use positional arguments. in PEP 249 they are called paramstyle named and pyformat An Example looks like this:

insert into test_questions (replyto, topic, comments) values(%(replyto)s, %(topic)s, %(comments)s);

or:

insert into test_questions (replyto, topic, comments) values(:replyto, :topic, :comments);
Databae utility Name

The name of the IDatabase Utility that you must configure

Change history

Changes

0.0.2 (2009-10-12)

  • Brown bag bad documentation release (gerken)

0.0.1 (2009-10-12)

  • Initial Release

Future features, mabye

  • In the RDB Action Adapter View, check for the existence of the IDatabase utility, and emit a warning if its missing

Release files for slc.rdbploneformgenadapter 0.0.2

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

Source distribution (sdist)

Source distribution for slc.rdbploneformgenadapter 0.0.2
File Size Uploaded
slc.rdbploneformgenadapter-0.0.2.tar.gz 16.1 kB Details

Release files / slc.rdbploneformgenadapter-0.0.2.tar.gz

Download URL slc.rdbploneformgenadapter-0.0.2.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8ac3b86c2a18ac849c8e8aefc2d0faa657b8ea358de9497560136121800eae55
BLAKE2b-256 checksum
How to use checksums
768760ac9c7aec9193f45ff0719830eb2ba25e0e93aed928bef4c71711f6d67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

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