Skip to content

Commit

Permalink
Added online help content for External Method.
Browse files Browse the repository at this point in the history
  • Loading branch information
latteier committed Dec 13, 1999
1 parent 5b45681 commit acbd61c
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
#
##############################################################################
__doc__='''External Method Product Initialization
$Id: __init__.py,v 1.11 1999/03/30 19:26:19 jim Exp $'''
__version__='$Revision: 1.11 $'[11:-2]
$Id: __init__.py,v 1.12 1999/12/13 23:26:41 amos Exp $'''
__version__='$Revision: 1.12 $'[11:-2]

import ExternalMethod

Expand All @@ -99,3 +99,4 @@ def initialize(context):
icon='extmethod.gif',
)

context.registerHelp()
5 changes: 5 additions & 0 deletions help/External-Method.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dtml-var standard_html_header>
<h1>External Method</h1>
<p>External Methods allow you to add functionality to Zope by writing
Python functions which are exposed as callable Zope objects.</p>
<dtml-var standard_html_footer>
19 changes: 19 additions & 0 deletions help/External-Method_Add.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<dtml-var standard_html_header>
<h1>
<a href="../External-Method.dtml">External Method</a>&gt;Add</h1>
<p> This view allows you to create a new External Method.</p>
<p> The <tt>Id</tt> field specifies the id of the external
method. The <tt>Title</tt> field allows you to specify the title of
the external method. The <tt>Function name</tt> field allows you to
specify the name of the function to use for the external method. The
<tt>Python module file</tt> field allows you to specify the module in
which the function is located. The Python module may be located in the Zope
Extensions directory, or in a
Extensions directory in a product directory. Product
directories are located in lib/python/Products. If the
Python module is in a product directory this should be indicated in the name of
the module which should be the name of the product followed by a dot followed
by the name of the Python module file. </p>
<p>Click the <tt>Add</tt> button to create a new External
Method.</p>
<dtml-var standard_html_footer>
18 changes: 18 additions & 0 deletions help/External-Method_Properties.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<dtml-var standard_html_header>
<h1>
<a href="../External-Method.dtml">External Method</a>&gt;Properties</h1>
<p> This view allows you to manage the properties of an external
method. </p>
<p> The <tt>Id</tt> field indicates the id of the external
method. The <tt>Title</tt> field allows you to specify the title of
the external method. The <tt>Function name</tt> field allows you to
specify the name of the function to use for the external method. The
<tt>Python module</tt> field allows you to specify the module in
which the function is located. The Python module may be located in the Zope
Extensions directory, or in a
Extensions directory in a product directory. Product
directories are located in lib/python/Products. If the
Python module is in a product directory this should be indicated in the name of
the module which should be the name of the product followed by a dot followed
by the name of the Python module file. </p>
<dtml-var standard_html_footer>
5 changes: 5 additions & 0 deletions help/External-Method_Security.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dtml-var standard_html_header>
<h1>
<a href="../External-Method.dtml">External Method</a>&gt;Security</h1>
<p> See <a href="../Folder_Security.dtml">Folder&gt;Security</a>. </p>
<dtml-var standard_html_footer>
8 changes: 8 additions & 0 deletions help/External-Method_Try-It.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<dtml-var standard_html_header>
<h1>
<a href="../External-Method.dtml">External Method</a>&gt;Try It</h1>
<p> This view executes the external method. </p>
<p> This view executes the external method and returns the results if
any. Only parameters from the web request are passed the the external method.
</p>
<dtml-var standard_html_footer>
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
External Method-1-0-0

0 comments on commit acbd61c

Please sign in to comment.