[Zope] products making documents
Dan Rusch
dgr427@globalcrossing.com
Thu, 07 Oct 1999 16:50:55 -0500
First Method: This is the form that is filled in....
<!--#var standard_html_header-->
<!--#var endOfSideBar-->
<H2><!--#var title_or_id--> <!--#var document_title--></H2>
<form action='Builder' method='post' enctype='multipart/form-data'>
<TABLE CELLSPACING="2">
<TR> <TH ALIGN="LEFT" VALIGN="TOP">Id:</TH>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="newId" SIZE="40">
</TD></TR>
<TR> <TH ALIGN="LEFT" VALIGN="TOP">Table Rows:</TH>
<TD ALIGN="LEFT" VALIGN="TOP">
<textarea NAME="newTableRows:lines" ROWS="3" COLS="40">
</textarea>
</TD></TR>
<TR><TD></TD>
<TD><BR>
<INPUT TYPE="SUBMIT" VALUE="Create Home Page">
</TD></TR>
</TABLE></FORM>
<!--#var standard_html_footer-->
//*************************
This is the second method, it builds the "clone"
//********************************
<!--#var standard_html_header-->
<!--#var endOfSideBar-->
<!--#with "manage_clone(Home,REQUEST['newId'],REQUEST)"-->
<!--#with "index_html"-->
<!--#call
"manage_changeProperties(tableRows=REQUEST['newTableRows'])"-->
<!--#/with-->
<!--#/with-->
<!--#call "RESPONSE.redirect('manage_main?update_menu=1')"-->
Congratulations!
<!--#var standard_html_footer-->
Hope this helps,
DR