Commit abb1dba4 authored by Mayoro Diagne's avatar Mayoro Diagne

2008-11-03: mayoro

* Make the change of listbox page working for whole documentation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24468 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e17800b1
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=BaseCategoryDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=BaseCategoryDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=CatalogMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=CatalogMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=InteractionWorkflowDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=InteractionWorkflowDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeInstanceDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeInstanceDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=SkinFolderDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=SkinFolderDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowPermissionDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowPermissionDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/scripts%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowScriptDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowScriptDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
base_uri_tab = brain.base_uri.split("/")\n
base_uri = "/".join(base_uri_tab[:-1])\n
uri = base_uri+\'/transitions%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowTransitionDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowTransitionDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/states%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowStateDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowStateDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
base_uri_tab = brain.base_uri.split("/")\n
base_uri = "/".join(base_uri_tab[:-1])\n
uri = base_uri+\'/states%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowStateDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowStateDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/transitions%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowTransitionDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowTransitionDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/variables%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowVariableDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowVariableDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'/worklists%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=DCWorkflowWorklistDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=DCWorkflowWorklistDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -203,7 +203,12 @@ for method_id in method_list:\n
if property_type:\n
result_dict.setdefault(key, {})[\'type\'] = property_type\n
\n
base_uri = context.getURI()\n
request = context.REQUEST\n
base_uri = request.get(\'uri\', None)\n
if base_uri is None:\n
base_uri = request.get(\'field_your_uri\')\n
\n
\n
result = map(\n
lambda key: context.asContext(base_uri=base_uri, id=key[0], prefix_type=key[1], postfix_type=key[2], **result_dict[key]),\n
result_dict.keys()\n
......@@ -272,6 +277,8 @@ return result\n
<string>prefix_type</string>
<string>postfix_type</string>
<string>key</string>
<string>request</string>
<string>None</string>
<string>base_uri</string>
<string>map</string>
<string>result</string>
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'boolean_getter\'):\n
uri = brain.base_uri+"%23"+brain.boolean_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -56,7 +56,7 @@
<value> <string encoding="cdata"><![CDATA[
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
return "%s/getDocumentationHelper?uri=%s&class_name=ClassMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=ClassMethodDocumentationHelper" % \\\n
(portal_url, brain.uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'default_getter\'):\n
uri = brain.base_uri+"%23"+brain.default_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'default_setter\'):\n
uri = brain.base_uri+"%23"+brain.default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -71,7 +71,7 @@ else:\n
# XXX to be complete, jump to ERP5SiteDocumentationHelper instaed of raising error\n
class_name = \'ERP5SiteDocumentationHelper\' \n
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
return "%s/getDocumentationHelper?uri=%s&class_name=%s" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=%s" % \\\n
(portal_url, url, class_name)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'getter\'):\n
uri = brain.base_uri+"%23"+brain.getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'list_getter\'):\n
uri = brain.base_uri+"%23"+brain.list_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'list_setter\'):\n
uri = brain.base_uri+"%23"+brain.list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_boolean_getter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_boolean_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_default_getter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_default_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_default_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_getter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_list_getter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_list_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_list_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_set_getter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_set_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'brain.private_base_set_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_set_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_base_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_base_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_default_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_list_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_set_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_set_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'private_setter\'):\n
uri = brain.base_uri+"%23"+brain.private_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'set_getter\'):\n
uri = brain.base_uri+"%23"+brain.set_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'set_setter\'):\n
uri = brain.base_uri+"%23"+brain.set_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'setter\'):\n
uri = brain.base_uri+"%23"+brain.setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -59,7 +59,7 @@ portal_url = context.getPortalObject().portal_classes.absolute_url()\n
uri = \'\'\n
if hasattr(brain, \'tester\'):\n
uri = brain.base_uri+"%23"+brain.tester\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = brain.base_uri+\'%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=WorkflowMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=WorkflowMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = brain.base_uri+\'%3F_actions%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeActionDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeActionDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = context.getPortalObject().getId()+\'/portal_categories/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=BaseCategoryDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=BaseCategoryDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'boolean_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.boolean_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'default_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.default_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'default_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -91,10 +91,6 @@ if hasattr(line, \'private_base_default_getter\'):\n
if private_base_default_getter != \'\':\n
getters.append((private_base_default_getter, line.DocumentationHelper_getPrivateBaseDefaultGetterAccessorMethodUrl(line)))\n
\n
\n
\n
\n
\n
return getters\n
</string> </value>
</item>
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = brain.base_uri+\'/\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'list_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.list_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -62,7 +62,7 @@ if len(uri_list)>=3:\n
portal_type = uri_list[3]\n
if hasattr(brain, \'list_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_boolean_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_boolean_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_default_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_default_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_default_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_list_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_list_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_list_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_set_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_set_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_set_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_set_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_base_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_base_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_default_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_default_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_list_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_list_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_set_eetter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_set_eetter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'private_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.private_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -60,7 +60,7 @@ o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = brain.base_uri+\'/\'+brain.id+\'.py\'\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypePropertySheetDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypePropertySheetDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -58,7 +58,7 @@
portal_url = context.getPortalObject().portal_classes.absolute_url()\n
o = context.getPortalObject().restrictedTraverse(brain.base_uri)\n
uri = brain.base_uri+\'%3F_roles%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=PortalTypeRoleDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PortalTypeRoleDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'set_getter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.set_getter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'set_setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.set_setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'setter\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.setter\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'tester\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.tester\n
return "%s/getDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=AccessorMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -64,7 +64,7 @@ if len(uri_list)>=3:\n
uri = \'\'\n
if hasattr(brain, \'id\'):\n
uri = \'portal_classes/temp_instance/\'+portal_type+\'%23\'+brain.id\n
return "%s/getDocumentationHelper?uri=%s&class_name=WorkflowMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=WorkflowMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ id = brain.id\n
if callable(id): id = id()\n
uri = brain.base_uri + \'/\' + id\n
\n
return "%s/getDocumentationHelper?uri=%s&class_name=ERP5FormDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=ERP5FormDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ id = brain.id\n
if callable(id): id = id()\n
uri = brain.base_uri + \'/\' + id\n
\n
return "%s/getDocumentationHelper?uri=%s&class_name=PageTemplateDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=PageTemplateDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ id = brain.id\n
if callable(id): id = id()\n
uri = brain.base_uri + \'/\' + id\n
\n
return "%s/getDocumentationHelper?uri=%s&class_name=ScriptPythonDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=ScriptPythonDocumentationHelper" % \\\n
(portal_url, uri)\n
......
......@@ -63,7 +63,7 @@ id = brain.id\n
if callable(id): id = id()\n
uri = brain.base_uri + \'/\' + id\n
\n
return "%s/getDocumentationHelper?uri=%s&class_name=ZSQLMethodDocumentationHelper" % \\\n
return "%s/DocumentationHelper_viewDocumentationHelper?uri=%s&class_name=ZSQLMethodDocumentationHelper" % \\\n
(portal_url, uri)\n
......
157
\ No newline at end of file
160
\ 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