<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#0000ff size=2>Ok, I 
got farther... changing the document_edit_form to this:</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;dtml-var standard_html_header&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;div class="Desktop"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;dtml-if 
message&gt;<BR>&nbsp;&lt;p&gt;&amp;dtml-message;&lt;/p&gt;<BR>&nbsp;&lt;hr&gt;<BR>&lt;/dtml-if&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;div class="Document"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;h2&gt;Edit &amp;dtml-getId;&lt;/h2&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;form action="document_edit" method="post" 
enctype="multipart/form-data"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&nbsp;&lt;input type="hidden" name="SafetyBelt" 
value="&amp;dtml-SafetyBelt;"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;table class="FormLayout"&gt;<BR>&nbsp;&lt;tr&gt;<BR>&nbsp; 
&lt;th&gt;<BR>&nbsp;&nbsp;&nbsp; Title<BR>&nbsp; &lt;/th&gt;<BR>&nbsp; 
&lt;td&gt;<BR>&nbsp;&nbsp; &lt;dtml-var Title&gt;<BR>&nbsp; 
&lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&nbsp;&lt;tr&gt;<BR>&nbsp; &lt;th&gt;<BR>&nbsp;&nbsp;&nbsp; 
Description<BR>&nbsp; &lt;/th&gt;<BR>&nbsp; &lt;td&gt;<BR>&nbsp;&nbsp; 
&lt;dtml-var description&gt;<BR>&nbsp; 
&lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&nbsp;&lt;tr&gt;<BR>&nbsp; &lt;th&gt;<BR>&nbsp;&nbsp; Format<BR>&nbsp; 
&lt;/th&gt;<BR>&nbsp; &lt;td&gt;<BR>&nbsp;&nbsp; &lt;input type="radio" 
name="text_format" 
value="structured-text"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;dtml-if 
"text_format=='structured-text'"&gt;checked&lt;/dtml-if&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
id="cb_structuredtext" 
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;label 
for="cb_structuredtext"&gt;structured-text&lt;/label&gt;<BR>&nbsp;&nbsp; 
&lt;input type="radio" name="text_format" 
value="plain"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;dtml-if "text_format=='plain'"&gt;checked&lt;/dtml-if&gt;<BR>&nbsp;&nbsp; 
id="cb_html" /&gt;<BR>&nbsp;&nbsp; &lt;label for="cb_html"&gt;plain 
text&lt;/label&gt;<BR>&nbsp;&nbsp; &lt;input type="radio" name="text_format" 
value="html"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;dtml-if "text_format=='html'"&gt;checked&lt;/dtml-if&gt;<BR>&nbsp;&nbsp; 
id="cb_html" /&gt;<BR>&nbsp;&nbsp; &lt;label 
for="cb_html"&gt;html&lt;/label&gt;<BR>&nbsp; 
&lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&nbsp;&lt;tr&gt;<BR>&nbsp; &lt;th&gt; Upload &lt;/th&gt;<BR>&nbsp; 
&lt;td&gt;<BR>&nbsp;&nbsp; &lt;input type="file" name="file" 
size="25"&gt;<BR>&nbsp; &lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;<BR>&lt;tr&gt;<BR><FONT 
color=#800000>&nbsp; &lt;dtml-if html&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;dtml-call 
"manage_edit('', content_type='text/html', filedata=_.str(html))"&gt;<BR>&nbsp; 
&lt;/dtml-if&gt;</FONT></FONT></SPAN></DIV>
<DIV><FONT color=#800000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#800000 size=2>&nbsp; 
&lt;p&gt;&lt;a href="&lt;dtml-var URL1&gt;"&gt;View 
Document&lt;/a&gt;&lt;/p&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#800000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 size=2><FONT 
color=#800000>&nbsp; &lt;form action="&lt;dtml-var URL&gt;" 
method="post"&gt;<BR>&nbsp;&nbsp; &lt;dtml-var "Epoz('html:string', 
data=this().text,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
toolbox='/toolbox',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
lang='en',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
style='width: 620px; height: 250px; border: 1px solid 
#000000;')"&gt;<BR>&nbsp;&nbsp; &lt;input type="submit" name="submit" value=" 
Save Changes " &gt;<BR>&nbsp; 
&lt;/form&gt;</FONT><BR>&lt;/tr&gt;<BR>&nbsp;&lt;tr&gt;<BR>&nbsp; &lt;td&gt; 
&lt;br&gt; &lt;/td&gt;<BR>&nbsp; &lt;td&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;input 
type="submit" name="choice" value=" Change "&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;input 
type="submit" name="choice" value=" Change and View "&gt;<BR>&nbsp; 
&lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;<BR>&lt;/table&gt;<BR>&lt;/form&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;/div&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;/div&gt;</FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT>&nbsp;</DIV>
<DIV><SPAN class=204325719-06012004><FONT face=Arial color=#008000 
size=2>&lt;dtml-var standard_html_footer&gt;<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=204325719-06012004>Shows the form, as 
expected, but now I get:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=204325719-06012004><!--StartFragment --><FONT face=Arial 
size=2>&nbsp;</FONT></DIV>
<DIV><STRONG><FONT face=Arial color=#800000 size=2>Invalid 
request</FONT></STRONG></DIV>
<DIV><FONT face=Arial size=2><FONT color=#800000>The parameter, <EM>text</EM>, 
was omitted from the request.</FONT> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV></SPAN></FONT><SPAN class=204325719-06012004><FONT face=Arial size=2>So, 
any ideas?</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Derek Wilson</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Wilson, Derek 
  <BR><B>Sent:</B> Tuesday, January 06, 2004 12:44 PM<BR><B>To:</B> 
  zope@zope.org<BR><B>Subject:</B> [Zope] Epoz 0.7.4 install in CMF 
  1.3.2<BR><BR></FONT></DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial size=2>Hello all... I 
  don't know if this is the right place to ask or not, but here goes... I'm 
  trying to install Epoz as the default document editor for my CMF 1.3.2 site 
  (no Plone). I tried changing the "document_edit_form" in the skins to what it 
  says in the readme... (as below)</FONT></SPAN></DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial color=#800000 size=2>To 
  start working with Epoz, simply create a DTML-Method 
  with<BR>&nbsp;id=edit::</FONT></SPAN></DIV>
  <DIV><FONT color=#800000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial color=#800000 
  size=2>&nbsp; &lt;dtml-var standard_html_header&gt;<BR>&nbsp; &lt;dtml-if 
  html&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;dtml-call "manage_edit('', 
  content_type='text/html', filedata=_.str(html))"&gt;<BR>&nbsp; 
  &lt;/dtml-if&gt;</FONT></SPAN></DIV>
  <DIV><FONT color=#800000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial color=#800000 
  size=2>&nbsp; &lt;p&gt;&lt;a href="&lt;dtml-var URL1&gt;"&gt;View 
  Document&lt;/a&gt;&lt;/p&gt;</FONT></SPAN></DIV>
  <DIV><FONT color=#800000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial color=#800000 
  size=2>&nbsp; &lt;form action="&lt;dtml-var URL&gt;" 
  method="post"&gt;<BR>&nbsp;&nbsp; &lt;dtml-var "Epoz('html:string', 
  data=this().data,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  toolbox='/toolbox',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  lang='en',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  style='width: 620px; height: 250px; border: 1px solid 
  #000000;')"&gt;<BR>&nbsp;&nbsp; &lt;input type="submit" name="submit" value=" 
  Save Changes " &gt;<BR>&nbsp; &lt;/form&gt;<BR>&nbsp; &lt;dtml-var 
  standard_html_footer&gt;</FONT></SPAN></DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial size=2>However, when I do 
  that, I get the error:</FONT></SPAN></DIV>
  <DIV><SPAN class=805153919-06012004><!--StartFragment -->&nbsp;</DIV>
  <DIV><FONT face=Arial color=#008000 size=2>Zope Error</FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2>Zope has encountered an error while 
  publishing this resource.</FONT></DIV>
  <DIV><FONT face=Arial><FONT size=2><FONT color=#008000><STRONG>Error Type: 
  AttributeError</STRONG><BR><STRONG>Error Value: 
  data</STRONG><BR></FONT></FONT></FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2></FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2>Troubleshooting 
  Suggestions</FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2>The URL may be 
  incorrect.</FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2>The parameters passed to this 
  resource may be incorrect.</FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2>A resource that this resource 
  relies on may be encountering an error.</FONT></DIV>
  <DIV><FONT color=#008000><FONT face=Arial size=2>For more detailed information 
  about the error, please refer to the HTML source for this page.</FONT> 
  </FONT></DIV>
  <DIV><FONT color=#008000><FONT face=Arial size=2>If the error persists please 
  contact the site maintainer. Thank you for your patience.</FONT> </FONT></DIV>
  <DIV><FONT face=Arial color=#008000 size=2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial size=2>Has anyone done 
  this successfully?</FONT></SPAN></DIV></SPAN>
  <DIV><SPAN class=805153919-06012004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial>
  <DIV align=left><SPAN class=328523315-26122003><FONT 
  size=2>Thanks,</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=328523315-26122003><FONT size=2>Derek 
  Wilson<BR></FONT></SPAN></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>