Commit a18c90cd authored by Yusei Tahara's avatar Yusei Tahara

Extract messages from constraints in ZODB property sheets for POT.

parent bdff5bf7
......@@ -203,6 +203,15 @@ for i in context.portal_types.objectValues():\n
for action_title, action_provider_id in context.Base_getActionTitleListFromAllActionProvider(context.getPortalObject()):\n
add_message(action_title, action_provider_id)\n
\n
#\n
# ZODB Property Sheet\n
#\n
for property_sheet in context.portal_property_sheets.objectValues():\n
for property_ in property_sheet.objectValues():\n
if property_.getId().endswith(\'constraint\'):\n
for key, value in property_.showDict().items():\n
if key.startswith(\'message_\'):\n
add_message(value, portal_url.getRelativeContentURL(property_))\n
\n
#\n
# Output\n
......
2011-08-08 yusei
* Extract messages from constraints in ZODB property sheets for POT.
2011-04-14 yusei
* Remove old unnecessary tales expression from relation string field.
......
661
\ No newline at end of file
662
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment