问题标签 [ploneformgen]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
104 浏览

plone - 克隆 FormGen 覆盖主题行

我是 Plone 的新手,正在使用 Plone 4.1 中的表格。我想覆盖表单邮件主题行,因此它是来自表单主题字段的输入的字符串,然后是表单名称。我不确定如何写这个。

0 投票
3 回答
135 浏览

python - How do you determine what attributes and methods are available in PloneFormGen

How can you determine the methods and attributes of objects in PloneFormGen? I want to write some scripts for a custom field adapter and would like to know what is available. My immediate problem comes from some online code I copied from: Python script to hide ploneformgen form after user has filled it out. (For Plone-4.3.2-64.)

This is the error message I get.

AttributeError: savefield

What I want to do is see what is available for attributes and methods and either fix this or write my own. Any help is appreciated.

This is what we use: PloneFormGen 1.7.12 Products.PFGExtendedMailAdapter 2.4

Plone 4.3.3 (4308) CMF 2.2.7 Zope 2.13.22 Python 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] PIL 2.0.0 (Pillow)