Commit cfa136b5 authored by Amos Latteier's avatar Amos Latteier

Added online help to External Methods.

parent 58539fea
......@@ -88,7 +88,7 @@
This product provides support for external methods, which allow
domain-specific customization of web environments.
"""
__version__='$Revision: 1.35 $'[11:-2]
__version__='$Revision: 1.36 $'[11:-2]
from Globals import Persistent, HTMLFile, MessageDialog, HTML
import OFS.SimpleItem, Acquisition
from string import split, join, find, lower
......@@ -149,11 +149,15 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Acquisition.Explicit,
func_code=None
ZopeTime=Acquisition.Acquired
HelpSys=Acquisition.Acquired
manage_options=(
{'label':'Properties', 'action':'manage_main'},
{'label':'Try It', 'action':''},
{'label':'Security', 'action':'manage_access'},
{'label':'Properties', 'action':'manage_main',
'help':('ExternalMethod','External-Method_Properties.dtml')},
{'label':'Try It', 'action':'',
'help':('ExternalMethod','External-Method_Try-It.dtml')},
{'label':'Security', 'action':'manage_access',
'help':('ExternalMethod','External-Method_Security.dtml')},
)
__ac_permissions__=(
......
......@@ -7,6 +7,8 @@
<h2>Add External Method</h2>
<dtml-var "HelpSys.HelpButton('External-Method_Add.dtml', 'ExternalMethod')">
<P>
External Methods allow you to add functionality to Zope by writing Python
functions which are exposed as callable Zope objects.
......
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